Re: <linux/kernel.h>: container_of()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/30/19 9:32 AM, Luc Van Oostenryck wrote:
> On Mon, May 06, 2019 at 01:30:09PM -0700, Randy Dunlap wrote:
>> Hi,
>>
>> sparse (0.6.0) seems to have problems with container_of().
>> My x86_64 allmodconfig build has 88 warnings like these:
>>
>> ../kernel/bpf/verifier.c:7701:39: warning: unknown expression (4 0)
>>
>> ../include/linux/genhd.h:221:32: warning: unknown expression (4 0)
>>
>> ../fs/proc/array.c:686:32: warning: unknown expression (4 0)
>>
>> ../drivers/infiniband/hw/hns/hns_roce_device.h:1003:16: warning: unknown expression (4 0)
>>
> 
> Hi,
> 
> This is now fixed in sparse's upstream.

Hi Luc,
Thanks. and welcome back.

-- 
~Randy



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux