public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [l1k:smsc95xx_5.17 279/888] include/linux/broadcom/vc_mem.h:36:63: error: 'compat_ulong_t' undeclared
@ 2022-04-08 20:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-08 20:20 UTC (permalink / raw)
  To: popcornmix; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/l1k/linux smsc95xx_5.17
head:   240f56c27361c195cd502d95aba51c6b8e5b808c
commit: 369c3a505f84640f4c10f4caf67c22bf5f9b1d56 [279/888] char: Add broadcom char drivers back to build files
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220409/202204090406.QmmRJunU-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/369c3a505f84640f4c10f4caf67c22bf5f9b1d56
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k smsc95xx_5.17
        git checkout 369c3a505f84640f4c10f4caf67c22bf5f9b1d56
        # 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

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/uapi/linux/ioctl.h:5,
                    from include/uapi/linux/fs.h:14,
                    from include/linux/fs.h:47,
                    from drivers/char/broadcom/vc_mem.c:17:
   drivers/char/broadcom/vc_mem.c: In function 'vc_mem_compat_ioctl':
>> include/linux/broadcom/vc_mem.h:36:63: error: 'compat_ulong_t' undeclared (first use in this function)
      36 | #define VC_MEM_IOC_MEM_PHYS_ADDR32  _IOR(VC_MEM_IOC_MAGIC, 0, compat_ulong_t)
         |                                                               ^~~~~~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/linux/broadcom/vc_mem.h:36:37: note: in expansion of macro '_IOR'
      36 | #define VC_MEM_IOC_MEM_PHYS_ADDR32  _IOR(VC_MEM_IOC_MAGIC, 0, compat_ulong_t)
         |                                     ^~~~
   drivers/char/broadcom/vc_mem.c:183:14: note: in expansion of macro 'VC_MEM_IOC_MEM_PHYS_ADDR32'
     183 |         case VC_MEM_IOC_MEM_PHYS_ADDR32:
         |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/broadcom/vc_mem.h:36:63: note: each undeclared identifier is reported only once for each function it appears in
      36 | #define VC_MEM_IOC_MEM_PHYS_ADDR32  _IOR(VC_MEM_IOC_MAGIC, 0, compat_ulong_t)
         |                                                               ^~~~~~~~~~~~~~
   arch/sparc/include/uapi/asm/ioctl.h:43:12: note: in definition of macro '_IOC'
      43 |          ((size) << _IOC_SIZESHIFT))
         |            ^~~~
   include/linux/broadcom/vc_mem.h:36:37: note: in expansion of macro '_IOR'
      36 | #define VC_MEM_IOC_MEM_PHYS_ADDR32  _IOR(VC_MEM_IOC_MAGIC, 0, compat_ulong_t)
         |                                     ^~~~
   drivers/char/broadcom/vc_mem.c:183:14: note: in expansion of macro 'VC_MEM_IOC_MEM_PHYS_ADDR32'
     183 |         case VC_MEM_IOC_MEM_PHYS_ADDR32:
         |              ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/compat_ulong_t +36 include/linux/broadcom/vc_mem.h

bc341020f52eeb popcornmix 2016-10-28  34  
bc341020f52eeb popcornmix 2016-10-28  35  #ifdef CONFIG_COMPAT
bc341020f52eeb popcornmix 2016-10-28 @36  #define VC_MEM_IOC_MEM_PHYS_ADDR32  _IOR(VC_MEM_IOC_MAGIC, 0, compat_ulong_t)
bc341020f52eeb popcornmix 2016-10-28  37  #endif
bc341020f52eeb popcornmix 2016-10-28  38  

:::::: The code at line 36 was first introduced by commit
:::::: bc341020f52eeb5c8b0def11a65bfb79ac6d1e74 vc_mem: Add vc_mem driver for querying firmware memory addresses

:::::: TO: popcornmix <popcornmix@gmail.com>
:::::: CC: Dom Cobley <popcornmix@gmail.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-08 20:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 20:20 [l1k:smsc95xx_5.17 279/888] include/linux/broadcom/vc_mem.h:36:63: error: 'compat_ulong_t' undeclared kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox