From: kernel test robot <lkp@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [arm-integrator:b4/csky-virt-to-phys 3/3] arch/csky/include/asm/page.h:87:26: error: invalid operands to binary << (have 'void *' and 'int')
Date: Tue, 8 Aug 2023 18:28:38 +0800 [thread overview]
Message-ID: <202308081831.AwLfGh1Z-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/csky-virt-to-phys
head: cc0c9b81d4f577d38eba4af3cbe268e0eac7b1df
commit: cc0c9b81d4f577d38eba4af3cbe268e0eac7b1df [3/3] csky: Make pfn accessors static inlines
config: csky-defconfig (https://download.01.org/0day-ci/archive/20230808/202308081831.AwLfGh1Z-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230808/202308081831.AwLfGh1Z-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308081831.AwLfGh1Z-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/csky/include/asm/thread_info.h:9,
from include/linux/thread_info.h:60,
from include/asm-generic/current.h:5,
from ./arch/csky/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from arch/csky/kernel/asm-offsets.c:4:
arch/csky/include/asm/page.h: In function 'pfn_to_virt':
>> arch/csky/include/asm/page.h:87:26: error: invalid operands to binary << (have 'void *' and 'int')
87 | return __va(pfn) << PAGE_SHIFT;
| ^~
make[3]: *** [scripts/Makefile.build:116: arch/csky/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1275: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +87 arch/csky/include/asm/page.h
84
85 static inline void * pfn_to_virt(unsigned long pfn)
86 {
> 87 return __va(pfn) << PAGE_SHIFT;
88 }
89
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-08 10:28 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=202308081831.AwLfGh1Z-lkp@intel.com \
--to=lkp@intel.com \
--cc=linus.walleij@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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.