GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [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
@ 2022-03-02 17:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-02 17:24 UTC (permalink / raw)
  To: Roman Kiryanov; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel

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/[email protected]/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 <[email protected]>

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/[email protected]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 17:24 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox