[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204081500.XmYHs9n7-lkp@intel.com>
Date: Fri, 8 Apr 2022 15:17:50 +0800
From: kernel test robot <lkp@...el.com>
To: Dave Stevenson <dave.stevenson@...pberrypi.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Dom Cobley <popcornmix@...il.com>
Subject: [l1k:smsc95xx_5.17 281/887]
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:1465:17: error: unknown type
name 'compat_uptr_t'
tree: https://github.com/l1k/linux smsc95xx_5.17
head: 05d68ced287b30f62f18f95b5476135ef669804a
commit: 56d0cd616fe11877854ad1b0768b3be67bb30349 [281/887] staging: vc04_services: Add new vc-sm-cma driver
config: sparc-randconfig-r012-20220408 (https://download.01.org/0day-ci/archive/20220408/202204081500.XmYHs9n7-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/l1k/linux/commit/56d0cd616fe11877854ad1b0768b3be67bb30349
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 56d0cd616fe11877854ad1b0768b3be67bb30349
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash drivers/staging/vc04_services/vc-sm-cma/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:731:1: warning: no previous prototype for 'vc_sm_cma_import_dmabuf_internal' [-Wmissing-prototypes]
731 | vc_sm_cma_import_dmabuf_internal(struct vc_sm_privdata_t *private,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:1114:5: warning: no previous prototype for 'vc_sm_cma_ioctl_alloc' [-Wmissing-prototypes]
1114 | int vc_sm_cma_ioctl_alloc(struct vc_sm_privdata_t *private,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c: In function 'cache_op_to_func':
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:1267:24: error: 'dmac_flush_range' undeclared (first use in this function)
1267 | return dmac_flush_range;
| ^~~~~~~~~~~~~~~~
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:1267:24: note: each undeclared identifier is reported only once for each function it appears in
drivers/staging/vc04_services/vc-sm-cma/vc_sm.c: At top level:
>> drivers/staging/vc04_services/vc-sm-cma/vc_sm.c:1465:17: error: unknown type name 'compat_uptr_t'
1465 | compat_uptr_t start_address;
| ^~~~~~~~~~~~~
vim +/compat_uptr_t +1465 drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
1458
1459 #ifdef CONFIG_COMPAT
1460 struct vc_sm_cma_ioctl_clean_invalid2_32 {
1461 u32 op_count;
1462 struct vc_sm_cma_ioctl_clean_invalid_block_32 {
1463 u16 invalidate_mode;
1464 u16 block_count;
> 1465 compat_uptr_t start_address;
1466 u32 block_size;
1467 u32 inter_block_stride;
1468 } s[0];
1469 };
1470
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists