lkml.org 
[lkml]   [2016]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] staging: iio: initialize data pointer before using it
From
Date
On 06/19/2016 11:41 AM, Lars-Peter Clausen wrote:
> On 06/18/2016 11:12 PM, Nicolas Iooss wrote:
>> ad7606_spi_read_block() reads SPI big-endian data into a buffer which is
>> then converted to CPU byte-order with a second variable. This variable,
>> data, has been left unitialized after commit 87787e5ef727 ("Staging:
>> iio: Fix sparse endian warning").
>
> Hi,
>
> Thanks for the patch. A similar patch was already merged last week.

Nice :) Actually I sent this patch because the bug is still present in
linux-next tree [1] and I failed to see a reference to a dedicated
development tree in MAINTAINERS.

Thanks for your quick reply!

-- Nicolas

[1]
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/drivers/staging/iio/adc/ad7606_spi.c

\
 
 \ /
  Last update: 2016-06-19 12:21    [W:0.035 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site