From: kbuild test robot <lkp@intel.com>
To: "David Rivshin (Allworx)" <drivshin.allworx@gmail.com>
Cc: kbuild-all@01.org, linux-leds@vger.kernel.org,
devicetree@vger.kernel.org, Richard Purdie <rpurdie@rpsys.net>,
Jacek Anaszewski <j.anaszewski@samsung.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Stefan Wahren <stefan.wahren@i2se.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers
Date: Thu, 3 Mar 2016 11:21:00 +0800 [thread overview]
Message-ID: <201603031107.fUFynmkS%fengguang.wu@intel.com> (raw)
In-Reply-To: <1456974095-1867-4-git-send-email-drivshin.allworx@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3397 bytes --]
Hi David,
[auto build test WARNING on j.anaszewski-leds/for-next]
[also build test WARNING on next-20160302]
[cannot apply to v4.5-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/David-Rivshin-Allworx/leds-Add-driver-for-the-ISSI-IS31FL32xx-family-of-LED-controllers/20160303-110656
base: https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds for-next
config: sparc64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All warnings (new ones prefixed by >>):
drivers/leds/leds-is31fl32xx.c: In function 'is31fl32xx_parse_child_dt':
>> drivers/leds/leds-is31fl32xx.c:344:6: warning: passing argument 1 of 'of_property_read_string' discards 'const' qualifier from pointer target type
if (of_property_read_string(child, "label", &cdev->name))
^
In file included from arch/sparc/include/asm/openprom.h:14:0,
from arch/sparc/include/asm/device.h:9,
from include/linux/device.h:30,
from include/linux/i2c.h:30,
from drivers/leds/leds-is31fl32xx.c:17:
include/linux/of.h:299:12: note: expected 'struct device_node *' but argument is of type 'const struct device_node *'
extern int of_property_read_string(struct device_node *np,
^
drivers/leds/leds-is31fl32xx.c:356:2: warning: passing argument 1 of 'of_property_read_string' discards 'const' qualifier from pointer target type
of_property_read_string(child, "linux,default-trigger",
^
In file included from arch/sparc/include/asm/openprom.h:14:0,
from arch/sparc/include/asm/device.h:9,
from include/linux/device.h:30,
from include/linux/i2c.h:30,
from drivers/leds/leds-is31fl32xx.c:17:
include/linux/of.h:299:12: note: expected 'struct device_node *' but argument is of type 'const struct device_node *'
extern int of_property_read_string(struct device_node *np,
^
vim +344 drivers/leds/leds-is31fl32xx.c
328 }
329
330 static inline size_t sizeof_is31fl32xx_priv(int num_leds)
331 {
332 return sizeof(struct is31fl32xx_priv) +
333 (sizeof(struct is31fl32xx_led_data) * num_leds);
334 }
335
336 static int is31fl32xx_parse_child_dt(const struct device *dev,
337 const struct device_node *child,
338 struct is31fl32xx_led_data *led_data)
339 {
340 struct led_classdev *cdev = &led_data->cdev;
341 int ret = 0;
342 u32 reg;
343
> 344 if (of_property_read_string(child, "label", &cdev->name))
345 cdev->name = child->name;
346
347 ret = of_property_read_u32(child, "reg", ®);
348 if (ret || reg < 1 || reg > led_data->priv->cdef->channels) {
349 dev_err(dev,
350 "Child node %s does not have a valid reg property\n",
351 child->full_name);
352 return -EINVAL;
---
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: 45112 bytes --]
next prev parent reply other threads:[~2016-03-03 3:22 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 3:01 [PATCH 0/4] " David Rivshin (Allworx)
2016-03-03 3:01 ` [PATCH 1/4] DT: Add vendor prefix for Integrated Silicon Solutions Inc David Rivshin (Allworx)
2016-03-05 4:28 ` Rob Herring
2016-03-03 3:01 ` [PATCH 2/4] DT: leds: Add binding for the ISSI IS31FL32xx family of LED controllers David Rivshin (Allworx)
2016-03-05 4:28 ` Rob Herring
2016-03-03 3:01 ` [PATCH 3/4] leds: Add driver " David Rivshin (Allworx)
2016-03-03 3:21 ` kbuild test robot [this message]
2016-03-03 14:51 ` Jacek Anaszewski
2016-03-04 0:45 ` David Rivshin (Allworx)
2016-03-04 7:54 ` Jacek Anaszewski
2016-03-04 15:05 ` David Rivshin (Allworx)
2016-03-04 16:01 ` Jacek Anaszewski
2016-03-04 19:02 ` David Rivshin (Allworx)
2016-03-04 21:39 ` Jacek Anaszewski
2016-03-05 5:29 ` David Rivshin (Allworx)
2016-03-05 11:37 ` Jacek Anaszewski
2016-03-03 18:13 ` Stefan Wahren
2016-03-04 14:27 ` David Rivshin (Allworx)
2016-03-04 15:38 ` Jacek Anaszewski
2016-03-05 6:12 ` David Rivshin (Allworx)
2016-03-05 11:39 ` Jacek Anaszewski
2016-03-03 3:01 ` [PATCH 4/4] leds: Replace dedicated SN3218 driver with IS31FL32XX driver David Rivshin (Allworx)
2016-03-03 14:51 ` Jacek Anaszewski
2016-03-05 5:34 ` David Rivshin (Allworx)
2016-03-05 11:37 ` Jacek Anaszewski
2016-03-04 21:14 ` Stefan Wahren
2016-03-05 5:00 ` David Rivshin (Allworx)
2016-03-05 4:28 ` Rob Herring
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=201603031107.fUFynmkS%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=drivshin.allworx@gmail.com \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=j.anaszewski@samsung.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=rpurdie@rpsys.net \
--cc=stefan.wahren@i2se.com \
/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®