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

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

 



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.


Cheers,
-- Luc



[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