[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203030136.g7Nn5d2S-lkp@intel.com>
Date: Thu, 3 Mar 2022 01:24:45 +0800
From: kernel test robot <lkp@...el.com>
To: Roman Kiryanov <rkir@...gle.com>
Cc: kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:google/android/kernel/common/deprecated/android-4.4-p-release
9213/9922] drivers/platform/goldfish/goldfish_pipe_v2.c:1161:15: warning:
right shift count >= width of type
Hi Roman,
FYI, the error/warning still remains.
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/deprecated/android-4.4-p-release
head: c159ade87311501e4e4b40eb2f35aa5607732957
commit: 7e3a6fc483350235bf3446492133d60c292d487c [9213/9922] goldfish: pipe: ANDROID: address must be written as __pa(x), not x
config: i386-randconfig-r005-20211118 (https://download.01.org/0day-ci/archive/20220303/202203030136.g7Nn5d2S-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/7e3a6fc483350235bf3446492133d60c292d487c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/deprecated/android-4.4-p-release
git checkout 7e3a6fc483350235bf3446492133d60c292d487c
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/platform/goldfish/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
drivers/platform/goldfish/goldfish_pipe_v2.c: In function 'write_pa_addr':
>> drivers/platform/goldfish/goldfish_pipe_v2.c:1161:15: warning: right shift count >= width of type [-Wshift-count-overflow]
writel(paddr >> 32, porth);
^~
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:206: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
vim +1161 drivers/platform/goldfish/goldfish_pipe_v2.c
1155
1156
1157 static void write_pa_addr(void *addr, void __iomem *portl, void __iomem *porth)
1158 {
1159 const unsigned long paddr = __pa(addr);
1160
> 1161 writel(paddr >> 32, porth);
1162 writel((u32)paddr, portl);
1163 }
1164
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists