lkml.org 
[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [kbuild-all] Re: include/linux/spinlock.h:346:2: error: invalid type argument of unary (have 'spinlock_t' {aka 'struct spinlock'})
From
Date


On 9/16/20 3:27 PM, Sebastian Andrzej Siewior wrote:
> On 2020-09-16 15:18:56 [+0800], kernel test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: fc4f28bb3daf3265d6bc5f73b497306985bb23ab
>> commit: de8f5e4f2dc1f032b46afda0a78cab5456974f89 lockdep: Introduce wait-type checks
>> date: 6 months ago
>> config: mips-randconfig-r011-20200916 (attached as .config)
>> compiler: mipsel-linux-gcc (GCC) 9.3.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
>> git checkout de8f5e4f2dc1f032b46afda0a78cab5456974f89
>> # save the attached .config to linux build tree
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
>>
>> 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 drivers/pcmcia/vrc4173_cardu.c:41:
> This driver does not compile even before this commit.
> Yes, it is still broken and yes it has nothing to do with this commit.

Hi Sebastian,

Only the errors prefixed by '>>' are from this commit, other errors are
for reference only.

>> include/linux/spinlock.h:346:2: error: invalid type argument of unary '*' (have 'spinlock_t' {aka 'struct spinlock'})

346 | *(_lock) = __SPIN_LOCK_UNLOCKED(_lock); \


Best Regards,
Rong Chen

\
 
 \ /
  Last update: 2020-09-18 02:19    [W:0.034 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site