[openeuler:OLK-6.6 3508/3508] drivers/ub/urma/ubagg/ubagg_ioctl.c:70:6: sparse: sparse: symbol 'ubagg_dev_ref_get' was not declared. Should it be static?
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 5930fa3740c518a9f6ba688fd0c1873d6f3adbce commit: 1fe6d02bf7ba2fb5c30d3c4bed50f127243f7128 [3508/3508] urma: add ubagg ioctl interface and topology management config: arm64-randconfig-r112-20251210 (https://download.01.org/0day-ci/archive/20251211/202512112010.YtfZjYX3-lkp@i...) compiler: aarch64-linux-gcc (GCC) 13.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512112010.YtfZjYX3-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512112010.YtfZjYX3-lkp@intel.com/ sparse warnings: (new ones prefixed by >>)
drivers/ub/urma/ubagg/ubagg_ioctl.c:70:6: sparse: sparse: symbol 'ubagg_dev_ref_get' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:75:6: sparse: sparse: symbol 'ubagg_dev_ref_put' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:446:5: sparse: sparse: symbol 'ubagg_user_ctl' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:483:5: sparse: sparse: symbol 'ubagg_config_device' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:514:19: sparse: sparse: symbol 'ubagg_create_jfc' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:550:5: sparse: sparse: symbol 'ubagg_destroy_jfc' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:568:19: sparse: sparse: symbol 'ubagg_create_jfs' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:609:5: sparse: sparse: symbol 'ubagg_destroy_jfs' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:626:19: sparse: sparse: symbol 'ubagg_create_jfr' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:718:5: sparse: sparse: symbol 'ubagg_destroy_jfr' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:737:21: sparse: sparse: symbol 'ubagg_create_jetty' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:829:5: sparse: sparse: symbol 'ubagg_destroy_jetty' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:849:5: sparse: sparse: symbol 'ubagg_query_device_status' was not declared. Should it be static? drivers/ub/urma/ubagg/ubagg_ioctl.c:1831:37: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@ drivers/ub/urma/ubagg/ubagg_ioctl.c:1831:37: sparse: expected void const [noderef] __user *from drivers/ub/urma/ubagg/ubagg_ioctl.c:1831:37: sparse: got void * drivers/ub/urma/ubagg/ubagg_ioctl.c:1562:13: sparse: sparse: context imbalance in 'rmv_dev_from_list' - wrong count at exit
vim +/ubagg_dev_ref_get +70 drivers/ub/urma/ubagg/ubagg_ioctl.c 69
70 void ubagg_dev_ref_get(struct ubagg_device *dev) 71 { 72 kref_get(&dev->ref); 73 } 74 75 void ubagg_dev_ref_put(struct ubagg_device *dev) 76 { 77 kref_put(&dev->ref, ubagg_dev_release); 78 } 79
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot