mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@01.org, viro@zeniv.linux.org.uk, dhowells@redhat.com,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	jlayton@redhat.com, mszeredi@redhat.com
Subject: Re: [PATCH] VFS: Differentiate mount flags (MS_*) from internal superblock flags
Date: Sun, 11 Jun 2017 01:59:23 +0800	[thread overview]
Message-ID: <201706110133.M1CQ723e%fengguang.wu@intel.com> (raw)
In-Reply-To: <149702046967.13949.14361137102849681738.stgit@warthog.procyon.org.uk>

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

Hi David,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.12-rc4]
[cannot apply to next-20170609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/David-Howells/VFS-Differentiate-mount-flags-MS_-from-internal-superblock-flags/20170611-000825
config: x86_64-randconfig-x011-201723 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:4:0,
                    from include/linux/fs.h:4,
                    from fs//cifs/connect.c:21:
   fs//cifs/connect.c: In function 'compare_mount_options':
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:21: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                        ^~~~~~~~~~~~
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:57: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                                                            ^~~~~~~~~~~~
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:160:42: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                             ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:21: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                        ^~~~~~~~~~~~
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:160:42: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                             ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:57: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                                                            ^~~~~~~~~~~~
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:171:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:21: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                        ^~~~~~~~~~~~
   include/linux/fs.h:1266:20: error: expected ')' before numeric constant
    #define SB_NOEXEC  8 /* Disallow program execution */
                       ^
   include/linux/compiler.h:171:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^~~~
>> fs//cifs/connect.c:2883:2: note: in expansion of macro 'if'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
     ^~
   fs//cifs/cifsglob.h:561:9: note: in expansion of macro 'SB_NOEXEC'
            SB_NOEXEC | SB_NOSUID | SB_NODEV)
            ^~~~~~~~~
   fs//cifs/connect.c:2883:57: note: in expansion of macro 'CIFS_MS_MASK'
     if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
                                                            ^~~~~~~~~~~~

vim +/if +2883 fs//cifs/connect.c

9d002df4 Jeff Layton     2010-10-06  2867  	kfree(tlink);
9d002df4 Jeff Layton     2010-10-06  2868  	return;
9d002df4 Jeff Layton     2010-10-06  2869  }
d00c28de Jeff Layton     2010-04-24  2870  
25c7f41e Pavel Shilovsky 2011-05-26  2871  static inline struct tcon_link *
cd51875d Pavel Shilovsky 2011-06-09  2872  cifs_sb_master_tlink(struct cifs_sb_info *cifs_sb)
cd51875d Pavel Shilovsky 2011-06-09  2873  {
cd51875d Pavel Shilovsky 2011-06-09  2874  	return cifs_sb->master_tlink;
cd51875d Pavel Shilovsky 2011-06-09  2875  }
25c7f41e Pavel Shilovsky 2011-05-26  2876  
25c7f41e Pavel Shilovsky 2011-05-26  2877  static int
25c7f41e Pavel Shilovsky 2011-05-26  2878  compare_mount_options(struct super_block *sb, struct cifs_mnt_data *mnt_data)
25c7f41e Pavel Shilovsky 2011-05-26  2879  {
25c7f41e Pavel Shilovsky 2011-05-26  2880  	struct cifs_sb_info *old = CIFS_SB(sb);
25c7f41e Pavel Shilovsky 2011-05-26  2881  	struct cifs_sb_info *new = mnt_data->cifs_sb;
25c7f41e Pavel Shilovsky 2011-05-26  2882  
25c7f41e Pavel Shilovsky 2011-05-26 @2883  	if ((sb->s_flags & CIFS_MS_MASK) != (mnt_data->flags & CIFS_MS_MASK))
25c7f41e Pavel Shilovsky 2011-05-26  2884  		return 0;
25c7f41e Pavel Shilovsky 2011-05-26  2885  
25c7f41e Pavel Shilovsky 2011-05-26  2886  	if ((old->mnt_cifs_flags & CIFS_MOUNT_MASK) !=
25c7f41e Pavel Shilovsky 2011-05-26  2887  	    (new->mnt_cifs_flags & CIFS_MOUNT_MASK))
25c7f41e Pavel Shilovsky 2011-05-26  2888  		return 0;
25c7f41e Pavel Shilovsky 2011-05-26  2889  
25c7f41e Pavel Shilovsky 2011-05-26  2890  	/*
5eba8ab3 Jeff Layton     2011-10-19  2891  	 * We want to share sb only if we don't specify an r/wsize or

:::::: The code at line 2883 was first introduced by commit
:::::: 25c7f41e9234f60af30e086278f1de7974f8816f CIFS: Migrate to shared superblock model

:::::: TO: Pavel Shilovsky <piastry@etersoft.ru>
:::::: CC: Steve French <sfrench@us.ibm.com>

---
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: 27128 bytes --]

      parent reply	other threads:[~2017-06-10 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09 15:01 David Howells
2017-06-09 15:33 ` Jeff Layton
2017-06-09 16:04 ` David Howells
2017-06-10 17:15 ` kbuild test robot
2017-06-14 14:56   ` David Howells
2017-06-10 17:59 ` kbuild test robot [this message]

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=201706110133.M1CQ723e%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=jlayton@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mszeredi@redhat.com \
    --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

all inboxes | Powered by JetHome®