mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Constantine Shulyupin <const@makelinux.com>
Cc: kbuild-all@01.org, Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	"open list:HARDWARE MONITORING" <lm-sensors@lm-sensors.org>,
	open list <linux-kernel@vger.kernel.org>,
	Constantine Shulyupin <const@makelinux.com>
Subject: Re: [PATCH v3] hwmon: (nct7802) Add device tree support
Date: Tue, 27 Oct 2015 05:04:39 +0800	[thread overview]
Message-ID: <201510270501.By83O51Q%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445892399-3291-1-git-send-email-const@makelinux.com>

[-- Attachment #1: Type: text/plain, Size: 1875 bytes --]

Hi Constantine,

[auto build test WARNING on hwmon/hwmon-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Constantine-Shulyupin/hwmon-nct7802-Add-device-tree-support/20151027-045621
config: x86_64-randconfig-x019-201543 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/hwmon/nct7802.c: In function 'nct7802_parse_dt':
>> drivers/hwmon/nct7802.c:1100:6: warning: unused variable 'i' [-Wunused-variable]
     int i;
         ^
   drivers/hwmon/nct7802.c: At top level:
   drivers/hwmon/nct7802.c:1094:12: warning: 'nct7802_parse_dt' defined but not used [-Wunused-function]
    static int nct7802_parse_dt(struct device_node *node,
               ^

vim +/i +1100 drivers/hwmon/nct7802.c

  1084			(reg >= REG_PWM(0) && reg <= REG_PWM(2));
  1085	}
  1086	
  1087	static const struct regmap_config nct7802_regmap_config = {
  1088		.reg_bits = 8,
  1089		.val_bits = 8,
  1090		.cache_type = REGCACHE_RBTREE,
  1091		.volatile_reg = nct7802_regmap_is_volatile,
  1092	};
  1093	
  1094	static int nct7802_parse_dt(struct device_node *node,
  1095				    struct nct7802_platform_data *pdata)
  1096	{
  1097		struct device_node *child;
  1098		const char *sen_type;
  1099		int ret;
> 1100		int i;
  1101	
  1102		for_each_child_of_node(node, child) {
  1103			u32 reg = 0xFF;
  1104	
  1105			of_property_read_u32(child, "reg", &reg);
  1106			if (of_device_is_compatible(child, "nuvoton,nct7802-sensor")) {
  1107				ret = of_property_read_string(child,
  1108							      "sensor-type", &sen_type);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 25708 bytes --]

      reply	other threads:[~2015-10-26 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 20:46 Constantine Shulyupin
2015-10-26 21:04 ` 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=201510270501.By83O51Q%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=const@makelinux.com \
    --cc=jdelvare@suse.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lm-sensors@lm-sensors.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

all inboxes | Powered by JetHome®