Messages in this thread | | | Date | Sun, 25 Jun 2023 02:30:11 +0800 | From | kernel test robot <> | Subject | Re: [PATCH 1/8] ethosu: Add Arm Ethos-U driver |
| |
Hi Alison,
kernel test robot noticed the following build warnings:
[auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.4-rc7 next-20230623] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Alison-Wang/ethosu-Add-Arm-Ethos-U-driver/20230616-141036 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20230616055913.2360-2-alison.wang%40nxp.com patch subject: [PATCH 1/8] ethosu: Add Arm Ethos-U driver config: mips-randconfig-s032-20230625 (https://download.01.org/0day-ci/archive/20230625/202306250204.6o8RGyDl-lkp@intel.com/config) compiler: mipsel-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230625/202306250204.6o8RGyDl-lkp@intel.com/reproduce)
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/202306250204.6o8RGyDl-lkp@intel.com/
sparse warnings: (new ones prefixed by >>) >> drivers/firmware/ethosu/ethosu_inference.c:54:28: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@ drivers/firmware/ethosu/ethosu_inference.c:54:28: sparse: expected restricted __poll_t ( *poll )( ... ) drivers/firmware/ethosu/ethosu_inference.c:54:28: sparse: got unsigned int ( * )( ... ) drivers/firmware/ethosu/ethosu_inference.c:361:44: sparse: sparse: non size-preserving integer to pointer cast
vim +54 drivers/firmware/ethosu/ethosu_inference.c
37 38 /**************************************************************************** 39 * Variables 40 ****************************************************************************/ 41 42 static int ethosu_inference_release(struct inode *inode, 43 struct file *file); 44 45 static unsigned int ethosu_inference_poll(struct file *file, 46 poll_table *wait); 47 48 static long ethosu_inference_ioctl(struct file *file, 49 unsigned int cmd, 50 unsigned long arg); 51 52 static const struct file_operations ethosu_inference_fops = { 53 .release = ðosu_inference_release, > 54 .poll = ðosu_inference_poll, 55 .unlocked_ioctl = ðosu_inference_ioctl, 56 #ifdef CONFIG_COMPAT 57 .compat_ioctl = ðosu_inference_ioctl, 58 #endif 59 }; 60
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |