* [kdave-btrfs-devel:misc-next 100/109] fs/btrfs/sysfs.c:1355:5: warning: no previous prototype for 'btrfs_sysfs_add_fs_devices'
@ 2020-09-10 12:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-10 12:35 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]
tree: https://github.com/kdave/btrfs-devel.git misc-next
head: a99530d13cc95eec4869544f8000bbf7755d671b
commit: fd8e11fb8ffcb957a87dd0897b2e8c8535167391 [100/109] btrfs: simplify parameters of btrfs_sysfs_add_devices_dir
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.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
git checkout fd8e11fb8ffcb957a87dd0897b2e8c8535167391
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> fs/btrfs/sysfs.c:1355:5: warning: no previous prototype for 'btrfs_sysfs_add_fs_devices' [-Wmissing-prototypes]
1355 | int btrfs_sysfs_add_fs_devices(struct btrfs_fs_devices *fs_devices)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/kdave/btrfs-devel/commit/fd8e11fb8ffcb957a87dd0897b2e8c8535167391
git remote add kdave-btrfs-devel https://github.com/kdave/btrfs-devel.git
git fetch --no-tags kdave-btrfs-devel misc-next
git checkout fd8e11fb8ffcb957a87dd0897b2e8c8535167391
vim +/btrfs_sysfs_add_fs_devices +1355 fs/btrfs/sysfs.c
1354
> 1355 int btrfs_sysfs_add_fs_devices(struct btrfs_fs_devices *fs_devices)
1356 {
1357 int ret;
1358 struct btrfs_device *device;
1359
1360 list_for_each_entry(device, &fs_devices->devices, dev_list) {
1361 ret = btrfs_sysfs_add_device(device);
1362 if (ret)
1363 return ret;
1364 }
1365
1366 return 0;
1367 }
1368
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65078 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-10 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 12:35 [kdave-btrfs-devel:misc-next 100/109] fs/btrfs/sysfs.c:1355:5: warning: no previous prototype for 'btrfs_sysfs_add_fs_devices' 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.