From: kernel test robot <lkp@intel.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
Date: Fri, 18 Aug 2023 09:24:08 +0800 [thread overview]
Message-ID: <202308180900.0ecFnDBI-lkp@intel.com> (raw)
In-Reply-To: <20230817120029.221484-3-billy_tsai@aspeedtech.com>
Hi Billy,
kernel test robot noticed the following build warnings:
[auto build test WARNING on groeck-staging/hwmon-next]
[also build test WARNING on linus/master v6.5-rc6 next-20230817]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Billy-Tsai/dt-bindings-hwmon-Support-Aspeed-g6-PWM-TACH-Control/20230817-200427
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20230817120029.221484-3-billy_tsai%40aspeedtech.com
patch subject: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp at intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp at intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308180900.0ecFnDBI-lkp at intel.com/
All warnings (new ones prefixed by >>):
drivers/hwmon/aspeed-g6-pwm-tach.c: In function 'aspeed_tach_create_fan':
>> drivers/hwmon/aspeed-g6-pwm-tach.c:431:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
431 | int ret, count;
| ^~~
vim +/ret +431 drivers/hwmon/aspeed-g6-pwm-tach.c
426
427 static int aspeed_tach_create_fan(struct device *dev,
428 struct aspeed_pwm_tach_data *priv)
429 {
430 u8 *tach_ch;
> 431 int ret, count;
432
433 count = of_property_count_u8_elems(dev->of_node, "aspeed,fan-tach-ch");
434 if (count < 1)
435 return -EINVAL;
436 tach_ch = devm_kcalloc(dev, count, sizeof(*tach_ch), GFP_KERNEL);
437 if (!tach_ch)
438 return -ENOMEM;
439 ret = of_property_read_u8_array(dev->of_node, "aspeed,fan-tach-ch",
440 tach_ch, count);
441
442 aspeed_present_fan_tach(priv, tach_ch, count);
443
444 return 0;
445 }
446
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Billy Tsai <billy_tsai@aspeedtech.com>,
jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au,
andrew@aj.id.au, corbet@lwn.net, thierry.reding@gmail.com,
u.kleine-koenig@pengutronix.de, p.zabel@pengutronix.de,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org,
BMC-SW@aspeedtech.com, patrick@stwcx.xyz
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
Date: Fri, 18 Aug 2023 09:24:08 +0800 [thread overview]
Message-ID: <202308180900.0ecFnDBI-lkp@intel.com> (raw)
In-Reply-To: <20230817120029.221484-3-billy_tsai@aspeedtech.com>
Hi Billy,
kernel test robot noticed the following build warnings:
[auto build test WARNING on groeck-staging/hwmon-next]
[also build test WARNING on linus/master v6.5-rc6 next-20230817]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Billy-Tsai/dt-bindings-hwmon-Support-Aspeed-g6-PWM-TACH-Control/20230817-200427
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20230817120029.221484-3-billy_tsai%40aspeedtech.com
patch subject: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308180900.0ecFnDBI-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hwmon/aspeed-g6-pwm-tach.c: In function 'aspeed_tach_create_fan':
>> drivers/hwmon/aspeed-g6-pwm-tach.c:431:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
431 | int ret, count;
| ^~~
vim +/ret +431 drivers/hwmon/aspeed-g6-pwm-tach.c
426
427 static int aspeed_tach_create_fan(struct device *dev,
428 struct aspeed_pwm_tach_data *priv)
429 {
430 u8 *tach_ch;
> 431 int ret, count;
432
433 count = of_property_count_u8_elems(dev->of_node, "aspeed,fan-tach-ch");
434 if (count < 1)
435 return -EINVAL;
436 tach_ch = devm_kcalloc(dev, count, sizeof(*tach_ch), GFP_KERNEL);
437 if (!tach_ch)
438 return -ENOMEM;
439 ret = of_property_read_u8_array(dev->of_node, "aspeed,fan-tach-ch",
440 tach_ch, count);
441
442 aspeed_present_fan_tach(priv, tach_ch, count);
443
444 return 0;
445 }
446
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Billy Tsai <billy_tsai@aspeedtech.com>,
jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au,
andrew@aj.id.au, corbet@lwn.net, thierry.reding@gmail.com,
u.kleine-koenig@pengutronix.de, p.zabel@pengutronix.de,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org,
BMC-SW@aspeedtech.com, patrick@stwcx.xyz
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
Date: Fri, 18 Aug 2023 09:24:08 +0800 [thread overview]
Message-ID: <202308180900.0ecFnDBI-lkp@intel.com> (raw)
In-Reply-To: <20230817120029.221484-3-billy_tsai@aspeedtech.com>
Hi Billy,
kernel test robot noticed the following build warnings:
[auto build test WARNING on groeck-staging/hwmon-next]
[also build test WARNING on linus/master v6.5-rc6 next-20230817]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Billy-Tsai/dt-bindings-hwmon-Support-Aspeed-g6-PWM-TACH-Control/20230817-200427
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link: https://lore.kernel.org/r/20230817120029.221484-3-billy_tsai%40aspeedtech.com
patch subject: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308180900.0ecFnDBI-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hwmon/aspeed-g6-pwm-tach.c: In function 'aspeed_tach_create_fan':
>> drivers/hwmon/aspeed-g6-pwm-tach.c:431:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
431 | int ret, count;
| ^~~
vim +/ret +431 drivers/hwmon/aspeed-g6-pwm-tach.c
426
427 static int aspeed_tach_create_fan(struct device *dev,
428 struct aspeed_pwm_tach_data *priv)
429 {
430 u8 *tach_ch;
> 431 int ret, count;
432
433 count = of_property_count_u8_elems(dev->of_node, "aspeed,fan-tach-ch");
434 if (count < 1)
435 return -EINVAL;
436 tach_ch = devm_kcalloc(dev, count, sizeof(*tach_ch), GFP_KERNEL);
437 if (!tach_ch)
438 return -ENOMEM;
439 ret = of_property_read_u8_array(dev->of_node, "aspeed,fan-tach-ch",
440 tach_ch, count);
441
442 aspeed_present_fan_tach(priv, tach_ch, count);
443
444 return 0;
445 }
446
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-08-18 1:24 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 12:00 [PATCH v7 0/2] Support pwm/tach driver for aspeed ast26xx Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-17 12:00 ` [PATCH v7 1/2] dt-bindings: hwmon: Support Aspeed g6 PWM TACH Control Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-23 13:13 ` Rob Herring
2023-08-23 13:13 ` Rob Herring
2023-08-23 13:13 ` Rob Herring
2023-08-28 4:02 ` Billy Tsai
2023-08-28 7:53 ` Naresh Solanki
2023-08-28 7:53 ` Naresh Solanki
2023-08-28 7:53 ` Naresh Solanki
2023-08-28 5:33 ` Billy Tsai
2023-08-28 5:33 ` Billy Tsai
2023-08-28 5:33 ` Billy Tsai
2023-08-17 12:00 ` [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-17 12:00 ` Billy Tsai
2023-08-17 18:57 ` kernel test robot
2023-08-17 18:57 ` kernel test robot
2023-08-17 18:57 ` kernel test robot
2023-08-18 1:24 ` kernel test robot [this message]
2023-08-18 1:24 ` kernel test robot
2023-08-18 1:24 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308180900.0ecFnDBI-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.