All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [kdave-btrfs-devel:misc-next 100/109] fs/btrfs/sysfs.c:1355:5: warning: no previous prototype for 'btrfs_sysfs_add_fs_devices'
Date: Thu, 10 Sep 2020 20:35:11 +0800	[thread overview]
Message-ID: <202009102007.DXpXpyGr%lkp@intel.com> (raw)

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

                 reply	other threads:[~2020-09-10 12:35 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=202009102007.DXpXpyGr%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.