linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vfs:mount-fixes2 39/40] arch/sh/include/asm/page.h:24:19: warning: large integer implicitly truncated to unsigned type
@ 2018-06-02 12:04 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-06-02 12:04 UTC (permalink / raw)
  To: David Howells; +Cc: kbuild-all, linux-fsdevel, Al Viro

[-- Attachment #1: Type: text/plain, Size: 2614 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git mount-fixes2
head:   d950dedd5da1f43b9ca6364cf97a606c7b306452
commit: 40384bb9da240383534b1d2ee24df67d577a11ad [39/40] [RFC] fsinfo: Add a system call to allow querying of filesystem information
config: sh-shx3_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 40384bb9da240383534b1d2ee24df67d577a11ad
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All warnings (new ones prefixed by >>):

   In file included from arch/sh/include/asm/thread_info.h:15:0,
                    from include/linux/thread_info.h:38,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/sh/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:73,
                    from fs/statfs.c:2:
   fs/statfs.c: In function 'fsinfo_generic_limits':
>> arch/sh/include/asm/page.h:24:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
                      ^
   fs/statfs.c:448:25: note: in expansion of macro 'PAGE_SIZE'
     lim->max_symlink_len = PAGE_SIZE;
                            ^~~~~~~~~

vim +24 arch/sh/include/asm/page.h

8c12b5dc include/asm-sh/page.h Paul Mundt     2006-09-27  23  
d02b08f6 include/asm-sh/page.h Stuart Menefy  2007-11-30 @24  #define PAGE_SIZE	(_AC(1, UL) << PAGE_SHIFT)
^1da177e include/asm-sh/page.h Linus Torvalds 2005-04-16  25  #define PAGE_MASK	(~(PAGE_SIZE-1))
^1da177e include/asm-sh/page.h Linus Torvalds 2005-04-16  26  #define PTE_MASK	PAGE_MASK
^1da177e include/asm-sh/page.h Linus Torvalds 2005-04-16  27  

:::::: The code at line 24 was first introduced by commit
:::::: d02b08f6e8b184ffef349e395210a5e82ff4f4bc sh: Clean up places that make 29-bit physical assumptions.

:::::: TO: Stuart Menefy <stuart.menefy@st.com>
:::::: CC: Paul Mundt <lethal@linux-sh.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 14091 bytes --]

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

only message in thread, other threads:[~2018-06-02 12:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-02 12:04 [vfs:mount-fixes2 39/40] arch/sh/include/asm/page.h:24:19: warning: large integer implicitly truncated to unsigned type kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).