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

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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