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 ÿô.nÇ·®+%˱é¥wÿº{.nÇ·¥{±þ(¨þ)íèjg¬±¨¶Ýjÿ¾«þG«é¸¢·¦j:+v¨wèm¶ÿþø®w¥þ࣢·hâÿÙ