mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Roman Kiryanov <rkir@google.com>
Cc: kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.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
Date: Thu, 3 Mar 2022 01:24:45 +0800	[thread overview]
Message-ID: <202203030136.g7Nn5d2S-lkp@intel.com> (raw)

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@intel.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

                 reply	other threads:[~2022-03-02 17:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202203030136.g7Nn5d2S-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkir@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 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®