RE: [PATCH] staging: iio: adc: max1363: prevent buffer overflow

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

 



Greg KH wrote on 2010-10-06:
> On Wed, Oct 06, 2010 at 04:15:37PM +0200, michael.hennerich@xxxxxxxxxx
> wrote:
>> From: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
>>
>> ring->access.read_last() reads the entire datum from
>> the ring including padding and time stamp.
>>
>> Acked-by: Jonathan Cameron <jic23@xxxxxxxxx>
>> Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
>
> I applied this, but now you get the following warning:
>       drivers/staging/iio/adc/max1363_ring.c: In function
> âmax1363_single_channel_from_ringâ:
>       drivers/staging/iio/adc/max1363_ring.c:34:16: warning: unused variable
> ânumvalsâ
>
> care to fix that now as well?
>
> thanks,
>
> greg k-h

Thanks -
I should better hit the save button before sending patches.
I'll send an incremental patch to remove numvals.


Greetings,
Michael

Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 4036 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


ÿô.nlj·Ÿ®‰­†+%ŠË±é¥Šwÿº{.nlj·¥Š{±þ(¨þ)íèjg¬±¨¶‰šŽŠÝjÿ¾«þG«é¸¢·¦j:+v‰¨Šwèm¶Ÿÿþø®w¥þŠà£¢·hšâÿ†Ù



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux