From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, openbmc@lists.ozlabs.org, joel@jms.id.au,
jdelvare@suse.com, linux@roeck-us.net,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org,
mark.rutland@arm.com, devicetree@vger.kernel.org,
Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Subject: Re: [PATCH linux v1 2/2] drivers: hwmon: hwmon driver for ASPEED AST2400/2500 PWM and Fan tach controller
Date: Mon, 23 Jan 2017 08:06:16 +0800 [thread overview]
Message-ID: <201701230703.pOKggWHl%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170109215935.30067-3-jaghu@google.com>
[-- Attachment #1: Type: text/plain, Size: 2374 bytes --]
Hi Jaghathiswari,
[auto build test WARNING on hwmon/hwmon-next]
[also build test WARNING on v4.10-rc5 next-20170120]
[cannot apply to linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Jaghathiswari-Rankappagounder-Natarajan/Support-for-ASPEED-AST2400-AST2500-PWM-and-Fan-Tach-driver/20170110-093628
base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
config: i386-randconfig-i1-01230650 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/hwmon/aspeed-pwm-tacho.c: In function 'aspeed_create_type':
>> drivers/hwmon/aspeed-pwm-tacho.c:656:41: warning: 'div_h' is used uninitialized in this function [-Wuninitialized]
priv->type_pwm_clock_division_h[index] = div_h;
^
vim +/div_h +656 drivers/hwmon/aspeed-pwm-tacho.c
640 * The PWM frequency = 24MHz / (type M clock division L bit *
641 * type M clock division H bit * (type M PWM period bit + 1))
642 * Calculate type M clock division L bit and H bits given the other values
643 */
644 static int aspeed_create_type(struct device_node *child,
645 struct aspeed_pwm_tacho_data *priv,
646 u8 index)
647 {
648 u8 period, div_l, div_h;
649 bool enable;
650 u8 mode, div;
651 u16 unit;
652
653 of_property_read_u8(child, "pwm_period", &period);
654 of_property_read_u8(child, "pwm_clock_division_h", &div_h);
655 of_property_read_u8(child, "pwm_clock_division_l", &div_l);
> 656 priv->type_pwm_clock_division_h[index] = div_h;
657 priv->type_pwm_clock_division_l[index] = div_l;
658 priv->type_pwm_clock_unit[index] = period;
659 aspeed_set_pwm_clock_values(priv->base, index, div_h, div_l, period);
660
661 enable = of_property_read_bool(child, "fan_tach_enable");
662 aspeed_set_tacho_type_enable(priv->base, index, enable);
663
664 of_property_read_u8(child, "fan_tach_clock_division", &div);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27607 bytes --]
prev parent reply other threads:[~2017-01-23 0:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 21:59 [PATCH linux v1 0/2] Support for ASPEED AST2400/AST2500 PWM and Fan Tach driver Jaghathiswari Rankappagounder Natarajan
2017-01-09 21:59 ` [PATCH linux v1 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 pwm and fan tach controller device driver Jaghathiswari Rankappagounder Natarajan
2017-01-13 16:21 ` Rob Herring
2017-01-27 9:32 ` Jaghathiswari Rankappagounder Natarajan
[not found] ` <CANsWYUXFzUewaM21cfk8k1CFP=oVyWHC06vZLqkV-ZrFmbwVtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-27 9:35 ` Jaghathiswari Rankappagounder Natarajan
2017-01-09 21:59 ` [PATCH linux v1 2/2] drivers: hwmon: hwmon driver for ASPEED AST2400/2500 PWM and Fan tach controller Jaghathiswari Rankappagounder Natarajan
2017-01-15 19:11 ` Guenter Roeck
2017-01-23 0:06 ` kbuild test robot [this message]
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=201701230703.pOKggWHl%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jaghu@google.com \
--cc=jdelvare@suse.com \
--cc=joel@jms.id.au \
--cc=kbuild-all@01.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark.rutland@arm.com \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).