CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Xu Yilun <[email protected]> TO: [email protected] TO: [email protected] TO: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: Xu Yilun <[email protected]> CC: Luwei Kang <[email protected]> CC: Wu Hao <[email protected]>
Hi Xu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20200604] [also build test WARNING on v5.7] [cannot apply to linus/master v5.7 v5.7-rc7 v5.7-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Xu-Yilun/Add-interrupt-support-to-FPGA-DFL-drivers/20200604-170024 base: d4899e5542c15062cc55cac0ca99025bb64edc61 :::::: branch date: 13 hours ago :::::: commit date: 13 hours ago config: h8300-randconfig-m031-20200604 (attached as .config) compiler: h8300-linux-gcc (GCC) 9.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]> smatch warnings: drivers/fpga/dfl.c:1507 dfl_feature_ioctl_get_num_irqs() warn: ignoring unreachable code. # https://github.com/0day-ci/linux/commit/3e5e6f8f6872f9bd13a03413b90f858c6e6cc17f git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 3e5e6f8f6872f9bd13a03413b90f858c6e6cc17f vim +1507 drivers/fpga/dfl.c 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1494 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1495 /** 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1496 * dfl_feature_ioctl_get_num_irqs - dfl feature _GET_IRQ_NUM ioctl interface. 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1497 * @pdev: the feature device which has the sub feature 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1498 * @feature: the dfl sub feature 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1499 * @arg: ioctl argument 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1500 * 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1501 * Return: 0 on success, negative error code otherwise. 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1502 */ 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1503 long dfl_feature_ioctl_get_num_irqs(struct platform_device *pdev, 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1504 struct dfl_feature *feature, 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1505 unsigned long arg) 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1506 { 3e5e6f8f6872f9 Xu Yilun 2020-06-04 @1507 return put_user(feature->nr_irqs, (__u32 __user *)arg); 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1508 } 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1509 EXPORT_SYMBOL_GPL(dfl_feature_ioctl_get_num_irqs); 3e5e6f8f6872f9 Xu Yilun 2020-06-04 1510 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
