Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1480746
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <fengguang.wu@intel.com> |
| Newsgroups | linux.kernel |
| Subject | arch/mips/include/asm/mach-cavium-octeon/mangle-port.h:19:40: error: right shift count >= width of type |
| Date | Sun, 11 Sep 2016 09:40:01 +0200 |
| Message-ID | <sg7wR-3bd-5@gated-at.bofh.it> (permalink) |
| X-Original-To | "Steven J. Hill" <Steven.Hill@imgtec.com> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.30,315,1470726000"; d="gz'50?scan'50,208,50";a="1038146562" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="YiEDa0DAkWCtVeE4" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 344 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, linux-kernel@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org> |
| X-Original-Date | Sun, 11 Sep 2016 15:30:45 +0800 |
| X-Original-Message-ID | <201609111542.C8Kg4vjG%fengguang.wu@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1480746 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Steven,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63
commit: 1685ddbe35cd4637f7f841d5f9755dd0470bd68d MIPS: Octeon: Changes to support readq()/writeq() usage.
date: 9 weeks ago
config: mips-cavium_octeon_defconfig (attached as .config)
compiler: mips64-linux-gnuabi64-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
git checkout 1685ddbe35cd4637f7f841d5f9755dd0470bd68d
# save the attached .config to linux build tree
make.cross ARCH=mips
All errors (new ones prefixed by >>):
In file included from arch/mips/include/asm/io.h:32:0,
from arch/mips/include/asm/page.h:176,
from arch/mips/vdso/vdso.h:26,
from arch/mips/vdso/gettimeofday.c:11:
arch/mips/include/asm/mach-cavium-octeon/mangle-port.h: In function '__should_swizzle_bits':
>> arch/mips/include/asm/mach-cavium-octeon/mangle-port.h:19:40: error: right shift count >= width of type [-Werror=shift-count-overflow]
unsigned long did = ((unsigned long)a >> 40) & 0xff;
^
cc1: all warnings being treated as errors
vim +19 arch/mips/include/asm/mach-cavium-octeon/mangle-port.h
13 #ifdef __BIG_ENDIAN
14
15 static inline bool __should_swizzle_bits(volatile void *a)
16 {
17 extern const bool octeon_should_swizzle_table[];
18
> 19 unsigned long did = ((unsigned long)a >> 40) & 0xff;
20 return octeon_should_swizzle_table[did];
21 }
22
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
arch/mips/include/asm/mach-cavium-octeon/mangle-port.h:19:40: error: right shift count >= width of type kbuild test robot <fengguang.wu@intel.com> - 2016-09-11 09:40 +0200
csiph-web