linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@01.org, linux-fsdevel@vger.kernel.org,
	Al Viro <viro@zeniv.linux.org.uk>
Subject: [vfs:mount-fixes2 39/40] arch/sh/include/asm/page.h:24:19: warning: large integer implicitly truncated to unsigned type
Date: Sat, 2 Jun 2018 20:04:29 +0800	[thread overview]
Message-ID: <201806022019.L3lMGxdW%fengguang.wu@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2018-06-02 12:04 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=201806022019.L3lMGxdW%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).