public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: popcornmix <popcornmix@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [l1k:smsc95xx_5.17 279/888] include/linux/broadcom/vc_mem.h:36:63: error: 'compat_ulong_t' undeclared
Date: Sat, 9 Apr 2022 04:20:00 +0800	[thread overview]
Message-ID: <202204090406.QmmRJunU-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-04-08 20:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202204090406.QmmRJunU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=popcornmix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox