Google
  Web www.spinics.net

Re: [PATCH] recognize binary constants

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


On Tue, Nov 15, 2011 at 11:35 AM, Dan Carpenter <error27@xxxxxxxxx> wrote:
> On 9/8/11, Dan Carpenter <error27@xxxxxxxxx> wrote:
>> Sparse doesn't parse binary constants properly so the following code
>> generates an error:
>>
>>       x = 0b11;
>>
>> test.c:5:17: error: constant 0b11 is not a valid number
>>
>> Reported-by: Kamal Mostafa <kamal@xxxxxxxxxxxxx>
>> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
>
> I sent this patch before but the git tree was offline so everything
> was dead.

Thanks for the reminder. The patch looks fine.

I will apply it.

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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]

Add to Google Powered by Linux