Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425958

Re: [PATCH 1/1] staging: iio: initialize data pointer before using it

From Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] staging: iio: initialize data pointer before using it
Date 2016-06-19 12:10 +0200
Message-ID <rLHPY-Tf-25@gated-at.bofh.it> (permalink)
References <rLvON-113-5@gated-at.bofh.it> <rLHwC-tR-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] staging: iio: initialize data pointer before using it Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2016-06-18 23:20 +0200
  Re: [PATCH 1/1] staging: iio: initialize data pointer before using it Lars-Peter Clausen <lars@metafoo.de> - 2016-06-19 11:50 +0200
    Re: [PATCH 1/1] staging: iio: initialize data pointer before using it Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2016-06-19 12:10 +0200
      Re: [PATCH 1/1] staging: iio: initialize data pointer before using it Jonathan Cameron <jic23@kernel.org> - 2016-06-19 14:00 +0200

csiph-web