CC: [email protected] BCC: [email protected] CC: Linux Memory Management List <[email protected]> TO: Kanchan Joshi <[email protected]> CC: Jens Axboe <[email protected]> CC: Anuj Gupta <[email protected]> CC: Christoph Hellwig <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 38a288f5941ef03752887ad86f2d85442358c99a commit: 86116c2f6fee81a0be72a71cc2f1f7c087df8efa [9659/9759] nvme: wire-up uring-cmd support for io-passthru on char-device. :::::: branch date: 9 hours ago :::::: commit date: 16 hours ago config: microblaze-randconfig-m031-20220505 (https://download.01.org/0day-ci/archive/20220507/[email protected]/config) compiler: microblaze-linux-gcc (GCC) 11.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> New smatch warnings: drivers/nvme/host/ioctl.c:693 nvme_ns_head_chr_uring_cmd() error: uninitialized symbol 'ret'. Old smatch warnings: drivers/nvme/host/ioctl.c:203 nvme_alloc_user_request() warn: variable dereferenced before check 'bio' (see line 188) drivers/nvme/host/ioctl.c:366 nvme_user_cmd() error: uninitialized symbol 'result'. vim +/ret +693 drivers/nvme/host/ioctl.c 86116c2f6fee81 Kanchan Joshi 2022-05-05 680 86116c2f6fee81 Kanchan Joshi 2022-05-05 681 int nvme_ns_head_chr_uring_cmd(struct io_uring_cmd *ioucmd, 86116c2f6fee81 Kanchan Joshi 2022-05-05 682 unsigned int issue_flags) 86116c2f6fee81 Kanchan Joshi 2022-05-05 683 { 86116c2f6fee81 Kanchan Joshi 2022-05-05 684 struct cdev *cdev = file_inode(ioucmd->file)->i_cdev; 86116c2f6fee81 Kanchan Joshi 2022-05-05 685 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); 86116c2f6fee81 Kanchan Joshi 2022-05-05 686 int srcu_idx = srcu_read_lock(&head->srcu); 86116c2f6fee81 Kanchan Joshi 2022-05-05 687 struct nvme_ns *ns = nvme_find_path(head); 86116c2f6fee81 Kanchan Joshi 2022-05-05 688 int ret; 86116c2f6fee81 Kanchan Joshi 2022-05-05 689 86116c2f6fee81 Kanchan Joshi 2022-05-05 690 if (ns) 86116c2f6fee81 Kanchan Joshi 2022-05-05 691 ret = nvme_ns_uring_cmd(ns, ioucmd, issue_flags); 86116c2f6fee81 Kanchan Joshi 2022-05-05 692 srcu_read_unlock(&head->srcu, srcu_idx); 86116c2f6fee81 Kanchan Joshi 2022-05-05 @693 return ret; 86116c2f6fee81 Kanchan Joshi 2022-05-05 694 } 2405252a680e21 Christoph Hellwig 2021-04-10 695 #endif /* CONFIG_NVME_MULTIPATH */ 2405252a680e21 Christoph Hellwig 2021-04-10 696 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
