Re: Potential incorrect simplification

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

 



On Sun, Aug 6, 2017 at 7:04 PM, Dibyendu Majumdar
<mobile@xxxxxxxxxxxxxxx> wrote:
> Wouldn't have thought so - as the variable is not initialized at the
> point of declaration. The assignment occurs after declaring the struct
> variable s3.

IIRC, this patch was written specifically for the case you reported here.

> I haven't tried that patch though.

You'll need the full series:
https://github.com/lucvoo/sparse/tree/fix-bitfield-init-v3

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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