All of lore.kernel.org
 help / color / mirror / Atom feed
* [block:io_uring-fops.v7 6/8] fs/block_dev.c:344:10: error: implicit declaration of function 'blkdev_uring_ioctl'; did you mean 'blkdev_async_ioctl'?
@ 2021-09-08 19:30 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-08 19:30 UTC (permalink / raw)
  To: Jens Axboe; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-fops.v7
head:   733ce76b0107afe87534cfdd5403594ccef3bbe9
commit: e9640aeebe88d42bf792d7ad773498d7f001b453 [6/8] block: add example ioctl
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=e9640aeebe88d42bf792d7ad773498d7f001b453
        git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags block io_uring-fops.v7
        git checkout e9640aeebe88d42bf792d7ad773498d7f001b453
        # save the attached .config to linux build tree
        make W=1 ARCH=um SUBARCH=x86_64

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

All errors (new ones prefixed by >>):

   fs/block_dev.c: In function 'blkdev_async_cmd':
>> fs/block_dev.c:344:10: error: implicit declaration of function 'blkdev_uring_ioctl'; did you mean 'blkdev_async_ioctl'? [-Werror=implicit-function-declaration]
     344 |   return blkdev_uring_ioctl(bdev, cmd);
         |          ^~~~~~~~~~~~~~~~~~
         |          blkdev_async_ioctl
   At top level:
   fs/block_dev.c:324:12: warning: 'blkdev_async_ioctl' defined but not used [-Wunused-function]
     324 | static int blkdev_async_ioctl(struct block_device *bdev,
         |            ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +344 fs/block_dev.c

   336	
   337	static int blkdev_async_cmd(struct io_uring_cmd *cmd,
   338				    enum io_uring_cmd_flags flags)
   339	{
   340		struct block_device *bdev = I_BDEV(cmd->file->f_mapping->host);
   341	
   342		switch (cmd->op) {
   343		case BLOCK_URING_OP_IOCTL:
 > 344			return blkdev_uring_ioctl(bdev, cmd);
   345		default:
   346			break;
   347		}
   348	
   349		return blk_uring_cmd(bdev, cmd, flags);
   350	}
   351	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9639 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [block:io_uring-fops.v7 6/8] fs/block_dev.c:344:10: error: implicit declaration of function 'blkdev_uring_ioctl'; did you mean 'blkdev_async_ioctl'?
@ 2021-09-08 19:30 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-08 19:30 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-fops.v7
head:   733ce76b0107afe87534cfdd5403594ccef3bbe9
commit: e9640aeebe88d42bf792d7ad773498d7f001b453 [6/8] block: add example ioctl
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=e9640aeebe88d42bf792d7ad773498d7f001b453
        git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags block io_uring-fops.v7
        git checkout e9640aeebe88d42bf792d7ad773498d7f001b453
        # save the attached .config to linux build tree
        make W=1 ARCH=um SUBARCH=x86_64

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

All errors (new ones prefixed by >>):

   fs/block_dev.c: In function 'blkdev_async_cmd':
>> fs/block_dev.c:344:10: error: implicit declaration of function 'blkdev_uring_ioctl'; did you mean 'blkdev_async_ioctl'? [-Werror=implicit-function-declaration]
     344 |   return blkdev_uring_ioctl(bdev, cmd);
         |          ^~~~~~~~~~~~~~~~~~
         |          blkdev_async_ioctl
   At top level:
   fs/block_dev.c:324:12: warning: 'blkdev_async_ioctl' defined but not used [-Wunused-function]
     324 | static int blkdev_async_ioctl(struct block_device *bdev,
         |            ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +344 fs/block_dev.c

   336	
   337	static int blkdev_async_cmd(struct io_uring_cmd *cmd,
   338				    enum io_uring_cmd_flags flags)
   339	{
   340		struct block_device *bdev = I_BDEV(cmd->file->f_mapping->host);
   341	
   342		switch (cmd->op) {
   343		case BLOCK_URING_OP_IOCTL:
 > 344			return blkdev_uring_ioctl(bdev, cmd);
   345		default:
   346			break;
   347		}
   348	
   349		return blk_uring_cmd(bdev, cmd, flags);
   350	}
   351	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-08 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 19:30 [block:io_uring-fops.v7 6/8] fs/block_dev.c:344:10: error: implicit declaration of function 'blkdev_uring_ioctl'; did you mean 'blkdev_async_ioctl'? kernel test robot
2021-09-08 19:30 ` 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.