Re: [PATCH v3] staging: ccree: fixed sparse pointer signedness warnings.

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

 



On Wed, Jan 10, 2018 at 3:08 PM, Jeremy Sowden <jeremy@xxxxxxxxxx> wrote:
> On 2018-01-10, at 15:03:01 +0200, Gilad Ben-Yossef wrote:
>> On Wed, Jan 10, 2018 at 1:53 PM, Jeremy Sowden wrote:
>> > The driver uses a mixture of signed and unsigned integer variables
>> > for holding arrays lengths and indices, which gives rise to sparse
>> > warnings when the addresses of signed variables are passed to
>> > functions expecting
>>
>> Just curious, I didn't see these warning when running sparse myself.
>> Can you share the command line/flags you've used?
>
> make C=2 CF=-Wsparse-all M=drivers/staging/ccree 2>&1
>

Thanks, I was missing the -Wsparse-all flag.

Gilad


-- 
Gilad Ben-Yossef
Chief Coffee Drinker

"If you take a class in large-scale robotics, can you end up in a
situation where the homework eats your dog?"
 -- Jean-Baptiste Queru
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux