lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210200510.pv3NYDSo-lkp@intel.com>
Date:   Thu, 20 Oct 2022 09:14:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christian Brauner <brauner@...nel.org>
Cc:     kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:brauner/linux/fs.acl.rework 24/30]
 fs/internal.h:243:5: warning: no previous prototype for 'do_set_acl'

tree:   https://github.com/ammarfaizi2/linux-block brauner/linux/fs.acl.rework
head:   baac47dc33766dfb02917cba69b698f1a9fd1f84
commit: 788c4cf7d28228acf9be6fd156ee91574a22882d [24/30] xattr: use posix acl api
config: arm-assabet_defconfig
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/ammarfaizi2/linux-block/commit/788c4cf7d28228acf9be6fd156ee91574a22882d
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block brauner/linux/fs.acl.rework
        git checkout 788c4cf7d28228acf9be6fd156ee91574a22882d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from fs/open.c:37:
>> fs/internal.h:243:5: warning: no previous prototype for 'do_set_acl' [-Wmissing-prototypes]
     243 | int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |     ^~~~~~~~~~
>> fs/internal.h:248:9: warning: no previous prototype for 'do_get_acl' [-Wmissing-prototypes]
     248 | ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |         ^~~~~~~~~~
--
   In file included from fs/pipe.c:33:
>> fs/internal.h:243:5: warning: no previous prototype for 'do_set_acl' [-Wmissing-prototypes]
     243 | int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |     ^~~~~~~~~~
>> fs/internal.h:248:9: warning: no previous prototype for 'do_get_acl' [-Wmissing-prototypes]
     248 | ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |         ^~~~~~~~~~
   fs/pipe.c:757:15: warning: no previous prototype for 'account_pipe_buffers' [-Wmissing-prototypes]
     757 | unsigned long account_pipe_buffers(struct user_struct *user,
         |               ^~~~~~~~~~~~~~~~~~~~
   fs/pipe.c:763:6: warning: no previous prototype for 'too_many_pipe_buffers_soft' [-Wmissing-prototypes]
     763 | bool too_many_pipe_buffers_soft(unsigned long user_bufs)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/pipe.c:770:6: warning: no previous prototype for 'too_many_pipe_buffers_hard' [-Wmissing-prototypes]
     770 | bool too_many_pipe_buffers_hard(unsigned long user_bufs)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/pipe.c:777:6: warning: no previous prototype for 'pipe_is_unprivileged_user' [-Wmissing-prototypes]
     777 | bool pipe_is_unprivileged_user(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   fs/pipe.c:1253:5: warning: no previous prototype for 'pipe_resize_ring' [-Wmissing-prototypes]
    1253 | int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots)
         |     ^~~~~~~~~~~~~~~~
--
   In file included from block/bdev.c:30:
>> block/../fs/internal.h:243:5: warning: no previous prototype for 'do_set_acl' [-Wmissing-prototypes]
     243 | int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |     ^~~~~~~~~~
>> block/../fs/internal.h:248:9: warning: no previous prototype for 'do_get_acl' [-Wmissing-prototypes]
     248 | ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |         ^~~~~~~~~~
--
   In file included from io_uring/xattr.c:14:
>> io_uring/../fs/internal.h:243:5: warning: no previous prototype for 'do_set_acl' [-Wmissing-prototypes]
     243 | int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |     ^~~~~~~~~~
>> io_uring/../fs/internal.h:248:9: warning: no previous prototype for 'do_get_acl' [-Wmissing-prototypes]
     248 | ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |         ^~~~~~~~~~
--
   In file included from fs/iomap/buffered-io.c:22:
>> fs/iomap/../internal.h:243:5: warning: no previous prototype for 'do_set_acl' [-Wmissing-prototypes]
     243 | int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |     ^~~~~~~~~~
>> fs/iomap/../internal.h:248:9: warning: no previous prototype for 'do_get_acl' [-Wmissing-prototypes]
     248 | ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
         |         ^~~~~~~~~~


vim +/do_set_acl +243 fs/internal.h

   236	
   237	#ifdef CONFIG_FS_POSIX_ACL
   238	int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
   239		       const char *acl_name, const void *kvalue, size_t size);
   240	ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
   241			   const char *acl_name, void *kvalue, size_t size);
   242	#else
 > 243	int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
   244		       const char *acl_name, const void *kvalue, size_t size)
   245	{
   246		return -EOPNOTSUPP;
   247	}
 > 248	ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry,
   249			   const char *acl_name, void *kvalue, size_t size)
   250	{
   251		return -EOPNOTSUPP;
   252	}
   253	#endif
   254	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (57219 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ