From: kbuild test robot <lkp@intel.com>
To: Petri Gynther <pgynther@google.com>
Cc: kbuild-all@01.org, linux-wireless@vger.kernel.org,
kvalo@codeaurora.org, davem@davemloft.net, joe@perches.com,
akarwar@marvell.com, Petri Gynther <pgynther@google.com>
Subject: Re: [PATCH] Modify is_zero_ether_addr() to handle byte-aligned addresses
Date: Sat, 13 Aug 2016 10:26:14 +0800 [thread overview]
Message-ID: <201608131001.IUVB72Lq%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471047330-8153-1-git-send-email-pgynther@google.com>
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
Hi Petri,
[auto build test ERROR on net-next/master]
[also build test ERROR on v4.8-rc1 next-20160812]
[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/Petri-Gynther/Modify-is_zero_ether_addr-to-handle-byte-aligned-addresses/20160813-081835
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=powerpc
All errors (new ones prefixed by >>):
In file included from arch/powerpc/kernel/prom_parse.c:6:0:
include/linux/etherdevice.h: In function 'is_zero_ether_addr':
>> include/linux/etherdevice.h:96:6: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
if ((u32)addr & 0x1)
^
cc1: all warnings being treated as errors
vim +96 include/linux/etherdevice.h
90 * @addr: Pointer to a six-byte array containing the Ethernet address
91 *
92 * Return true if the address is all zeroes.
93 */
94 static inline bool is_zero_ether_addr(const u8 *addr)
95 {
> 96 if ((u32)addr & 0x1)
97 return (addr[0] | addr[1] | addr[2] | addr[3] | addr[4] |
98 addr[5]) == 0;
99
---
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: 22404 bytes --]
next prev parent reply other threads:[~2016-08-13 2:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-13 0:15 [PATCH] Modify is_zero_ether_addr() to handle byte-aligned addresses Petri Gynther
2016-08-13 0:28 ` Joe Perches
2016-08-13 1:41 ` Petri Gynther
2016-08-13 2:08 ` kbuild test robot
2016-08-13 2:26 ` kbuild test robot [this message]
2016-08-13 3:26 ` David Miller
2016-08-13 3:44 ` Petri Gynther
2016-08-13 4:00 ` Joe Perches
2016-08-13 4:05 ` David Miller
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=201608131001.IUVB72Lq%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akarwar@marvell.com \
--cc=davem@davemloft.net \
--cc=joe@perches.com \
--cc=kbuild-all@01.org \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pgynther@google.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 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.