From: kbuild test robot <lkp@intel.com>
To: Andrew Jeffery <andrew@aj.id.au>
Cc: kbuild-all@01.org, Linus Walleij <linus.walleij@linaro.org>,
Andrew Jeffery <andrew@aj.id.au>, Joel Stanley <joel@jms.id.au>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
openbmc@lists.ozlabs.org
Subject: Re: [PATCH 2/2] gpio: aspeed: Add banks Y, Z, AA, AB and AC
Date: Mon, 23 Jan 2017 14:59:30 +0800 [thread overview]
Message-ID: <201701231410.mAWE9Hzm%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170123052607.9424-3-andrew@aj.id.au>
[-- Attachment #1: Type: text/plain, Size: 5594 bytes --]
Hi Andrew,
[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.10-rc5 next-20170123]
[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/Andrew-Jeffery/gpio-aspeed-Implement-banks-Y-Z-AA-AB-and-AC/20170123-134930
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 errors (new ones prefixed by >>):
In file included from arch/sparc/include/asm/bitops_64.h:53:0,
from arch/sparc/include/asm/bitops.h:4,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/gpio/gpio-aspeed.c:12:
drivers/gpio/gpio-aspeed.c: In function 'set_irq_valid_mask':
>> include/asm-generic/bitops/find.h:58:60: error: passing argument 1 of 'find_next_zero_bit' from incompatible pointer type [-Werror=incompatible-pointer-types]
#define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
^
include/linux/bitops.h:50:15: note: in expansion of macro 'find_first_zero_bit'
for ((bit) = find_first_zero_bit((addr), (size)); \
^~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-aspeed.c:457:3: note: in expansion of macro 'for_each_clear_bit'
for_each_clear_bit(offset, &props->input, 32) {
^~~~~~~~~~~~~~~~~~
include/asm-generic/bitops/find.h:28:22: note: expected 'const long unsigned int *' but argument is of type 'const u32 * {aka const unsigned int *}'
extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
^~~~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:10:0,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/gpio/gpio-aspeed.c:12:
include/linux/bitops.h:52:34: error: passing argument 1 of 'find_next_zero_bit' from incompatible pointer type [-Werror=incompatible-pointer-types]
(bit) = find_next_zero_bit((addr), (size), (bit) + 1))
^
drivers/gpio/gpio-aspeed.c:457:3: note: in expansion of macro 'for_each_clear_bit'
for_each_clear_bit(offset, &props->input, 32) {
^~~~~~~~~~~~~~~~~~
In file included from arch/sparc/include/asm/bitops_64.h:53:0,
from arch/sparc/include/asm/bitops.h:4,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/gpio/gpio-aspeed.c:12:
include/asm-generic/bitops/find.h:28:22: note: expected 'const long unsigned int *' but argument is of type 'const u32 * {aka const unsigned int *}'
extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/find_next_zero_bit +58 include/asm-generic/bitops/find.h
708ff2a0 Akinobu Mita 2010-09-29 42 extern unsigned long find_first_bit(const unsigned long *addr,
708ff2a0 Akinobu Mita 2010-09-29 43 unsigned long size);
708ff2a0 Akinobu Mita 2010-09-29 44
708ff2a0 Akinobu Mita 2010-09-29 45 /**
708ff2a0 Akinobu Mita 2010-09-29 46 * find_first_zero_bit - find the first cleared bit in a memory region
708ff2a0 Akinobu Mita 2010-09-29 47 * @addr: The address to start the search at
ec778edf Cody P Schafer 2013-11-12 48 * @size: The maximum number of bits to search
708ff2a0 Akinobu Mita 2010-09-29 49 *
708ff2a0 Akinobu Mita 2010-09-29 50 * Returns the bit number of the first cleared bit.
ec778edf Cody P Schafer 2013-11-12 51 * If no bits are zero, returns @size.
708ff2a0 Akinobu Mita 2010-09-29 52 */
708ff2a0 Akinobu Mita 2010-09-29 53 extern unsigned long find_first_zero_bit(const unsigned long *addr,
708ff2a0 Akinobu Mita 2010-09-29 54 unsigned long size);
708ff2a0 Akinobu Mita 2010-09-29 55 #else /* CONFIG_GENERIC_FIND_FIRST_BIT */
708ff2a0 Akinobu Mita 2010-09-29 56
c7f612cd Akinobu Mita 2006-03-26 57 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
c7f612cd Akinobu Mita 2006-03-26 @58 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
c7f612cd Akinobu Mita 2006-03-26 59
708ff2a0 Akinobu Mita 2010-09-29 60 #endif /* CONFIG_GENERIC_FIND_FIRST_BIT */
708ff2a0 Akinobu Mita 2010-09-29 61
c7f612cd Akinobu Mita 2006-03-26 62 #endif /*_ASM_GENERIC_BITOPS_FIND_H_ */
:::::: The code at line 58 was first introduced by commit
:::::: c7f612cdf091def01454e7e132c7d7a3f419fbc4 [PATCH] bitops: generic find_{next,first}{,_zero}_bit()
:::::: TO: Akinobu Mita <mita@miraclelinux.com>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>
---
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: 48624 bytes --]
prev parent reply other threads:[~2017-01-23 7:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 5:26 [PATCH 0/2] gpio: aspeed: Implement " Andrew Jeffery
2017-01-23 5:26 ` [PATCH 1/2] gpio: aspeed: Make bank names strings Andrew Jeffery
2017-01-26 13:32 ` Linus Walleij
2017-01-23 5:26 ` [PATCH 2/2] gpio: aspeed: Add banks Y, Z, AA, AB and AC Andrew Jeffery
2017-01-23 6:47 ` kbuild test robot
2017-01-23 6:59 ` 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=201701231410.mAWE9Hzm%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--cc=kbuild-all@01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@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 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®