Re: [PATCH] Fix size calculation of unsized bool array

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

 



On Thu, Jan 7, 2016 at 9:47 AM, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
> This stops sparse from issuing the error message
>         "error: cannot size expression"
> for code like:
>         static _Bool boolarray[] = {
>                 0,
>                 1,
>         };
>         static int n = sizeof(boolarray);

This patch looks great. Applied.

Chris
--
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