linux-next: build warning after merge of the vfs tree
From: Stephen Rothwell
Date: Mon Jun 18 2018 - 21:53:42 EST
Hi all,
After merging the vfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
In file included from arch/powerpc/include/asm/thread_info.h:27:0,
from include/linux/thread_info.h:38,
from include/asm-generic/preempt.h:5,
from ./arch/powerpc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:81,
from include/linux/spinlock.h:51,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from include/uapi/linux/aio_abi.h:31,
from include/linux/syscalls.h:74,
from fs/statfs.c:2:
fs/statfs.c: In function 'fsinfo_generic_limits':
arch/powerpc/include/asm/page.h:38:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT)
^
fs/statfs.c:448:25: note: in expansion of macro 'PAGE_SIZE'
lim->max_symlink_len = PAGE_SIZE;
^~~~~~~~~
Introduced by commit
4afa2cf6f155 ("fsinfo: Add a system call to allow querying of filesystem information")
--
Cheers,
Stephen Rothwell
Attachment:
pgpaEhGbL0nej.pgp
Description: OpenPGP digital signature