Re: [PATCH 1/2] nvme: add API for sending admin commands by bdev

kbuild test robot
2019-09-16T06:36:50Z

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

Hi Robert,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[cannot apply to v5.3 next-20190915]
[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/Robert-Baldyga/nvme-Add-kernel-API-for-admin-command/20190916-134358
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

In file included from drivers/nvme/host/nvme.h:9:0,
from drivers/nvme/host/fault_inject.c:9:
>> include/linux/nvme.h:1395:42: warning: 'struct block_device' declared inside parameter list will not be visible outside of this definition or declaration
int nvme_submit_admin_cmd_by_bdev(struct block_device *bdev,
^~~~~~~~~~~~

vim +1395 include/linux/nvme.h

1394
> 1395 int nvme_submit_admin_cmd_by_bdev(struct block_device *bdev,
1396 struct nvme_command *c, void *buffer, unsigned int bufflen);
1397

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