Re: [PATCH](take II) Sparse fooled by double semicolon

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

 



Christopher Li wrote:
> Actually, this version is better because it handle semicolon
> as the first member as well.
> 
> Fix double semicolon in struct declare
> 
> Pavel discover this test case:
> #include <string.h>
> void test(void)
> {
>        struct { int foo;; } val;
>        memset(&val, 0, sizeof(val));
> }
> 
> Sparse ends up create a node with empty ctype in the member list.
> Skip that seems fix it.
> 
> Signed-Off-By: Christopher Li<spase@xxxxxxxxxxx>

Applied, along with the test case.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature


[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