tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
kernel-in-vmalloc-v6.2-rc3
head: ac3cfb78163256f2febd47ebd017d9f5b75820dd
commit: a1d2a5262341eafc84074a0688f37fe4020cd65f [8/25] ARC: mm: Make
virt_to_pfn() a static inline
config: arc-allyesconfig
(https://download.01.org/0day-ci/archive/20230202/202302020226.xf4sdeow-...@intel.com/config)
compiler: arceb-elf-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=a1d2a5262341eafc84074a0688f37fe4020cd65f
git remote add arm-integrator
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
git fetch --no-tags arm-integrator kernel-in-vmalloc-v6.2-rc3
git checkout a1d2a5262341eafc84074a0688f37fe4020cd65f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1
O=build_dir ARCH=arc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1
O=build_dir ARCH=arc SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot
All warnings (new ones prefixed by >>):
In file included from arch/arc/include/asm/page.h:137,
from arch/arc/include/asm/thread_info.h:16,
from include/linux/thread_info.h:60,
from include/asm-generic/preempt.h:5,
from ./arch/arc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:56,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from include/linux/namei.h:5,
from fs/cifs/dfs.c:6:
fs/cifs/cifsglob.h: In function 'cifs_sg_set_buf':
>> fs/cifs/cifsglob.h:2217:48: warning: passing argument 1 of 'virt_to_pfn'
>> makes pointer from integer without a cast [-Wint-conversion]
2217 | sg_set_page(sg++, virt_to_page(addr), buflen, off);
|^~~~
||
|long unsigned int
include/asm-generic/memory_model.h:18:46: note: in definition of macro
'__pfn_to_page'
18 | #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
| ^~~
fs/cifs/cifsglob.h:2217:35: note: in expansion of macro 'virt_to_page'
2217 | sg_set_page(sg++, virt_to_page(addr), buflen, off);
| ^~~~
arch/arc/include/asm/page.h:124:53: note: expected 'const void *' but
argument is of type 'long unsigned int'
124 | static inline unsigned long virt_to_pfn(const void *kaddr)
| ^
--
In file included from arch/arc/include/asm/page.h:137,
from arch/arc/include/asm/thread_info.h:16,
from include/linux/thread_info.h:60,
from include/asm-generic/preempt.h:5,
from ./arch/arc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:56,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from fs/cifs/smb2pdu.c:18:
fs/cifs/cifsglob.h: In function 'cifs_sg_set_buf':
>> fs/cifs/cifsglob.h:2217:48: warning: passing argument 1 of 'virt_to_pfn'
>> makes pointer from integer without a cast [-Wint-conversion]
2217 | sg_set_page(sg++, virt_to_page(addr), buflen, off);
|^~~~
||
|long unsigned int
include/asm-generic/memory_model.h:18:46: note: in definition of macro
'__pfn_to_page'
18 | #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
| ^~~
fs/cifs/cifsglob.h:2217:35: note: in expansion of macro 'virt_to_page'
2217 | sg_set_page(sg++, virt_to_page(addr), buflen, off);
| ^~~~
arch/arc/include/asm/page.h:124:53: note: expected 'const void *' but
argument is of type 'long unsigned int'
124 | static inline unsigned long virt_to_pfn(const void *kaddr)
|