All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 14083/14328] fs/smb/client/cifssmb.c:3094:5: error: conflicting types for 'cifs_do_set_acl'; have 'int(const unsigned int,  struct cifs_tcon *, const unsigned char *, const struct posix_acl *, const int,  const struct nls_table *, int)'
@ 2025-04-02  7:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-02  7:35 UTC (permalink / raw)
  To: Paulo Alcantara; +Cc: oe-kbuild-all, Steve French

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   fefb886b1344e222b3218f3c0165b0fd770e8b88
commit: 9f043ebda20bc29a856721ba7432d5541d89c14f [14083/14328] smb: client: optimize pathname checking
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20250402/202504021549.evbuYKS3-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250402/202504021549.evbuYKS3-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504021549.evbuYKS3-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/smb/client/cifssmb.c:3094:5: error: conflicting types for 'cifs_do_set_acl'; have 'int(const unsigned int,  struct cifs_tcon *, const unsigned char *, const struct posix_acl *, const int,  const struct nls_table *, int)'
    3094 | int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
         |     ^~~~~~~~~~~~~~~
   In file included from fs/smb/client/cifssmb.c:33:
   fs/smb/client/cifsproto.h:556:5: note: previous declaration of 'cifs_do_set_acl' with type 'int(const unsigned int,  struct cifs_tcon *, const unsigned char *, const struct posix_acl *, const int,  struct cifs_sb_info *)'
     556 | int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
         |     ^~~~~~~~~~~~~~~


vim +3094 fs/smb/client/cifssmb.c

dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3093  
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22 @3094  int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3095  		    const unsigned char *fileName, const struct posix_acl *acl,
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3096  		    const int acl_type, const struct nls_table *nls_codepage,
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3097  		    int remap)
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3098  {
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3099  	return -EOPNOTSUPP;
dc1af4c4b4721a fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3100  }
bd9684b042dcbb fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3101  #endif /* CONFIG_FS_POSIX_ACL */
bd9684b042dcbb fs/cifs/cifssmb.c Christian Brauner 2022-09-22  3102  

:::::: The code at line 3094 was first introduced by commit
:::::: dc1af4c4b4721abfa07b351063825acc7e69cc66 cifs: implement set acl method

:::::: TO: Christian Brauner <brauner@kernel.org>
:::::: CC: Christian Brauner (Microsoft) <brauner@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2025-04-02  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-02  7:35 [linux-next:master 14083/14328] fs/smb/client/cifssmb.c:3094:5: error: conflicting types for 'cifs_do_set_acl'; have 'int(const unsigned int, struct cifs_tcon *, const unsigned char *, const struct posix_acl *, const int, const struct nls_table *, int)' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.