[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <afe789eb-0a01-cee9-7203-6e720f8c8c6a@kernel.org>
Date: Sun, 19 Jun 2016 12:58:57 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Nicolas Iooss <nicolas.iooss_linux@....org>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Ksenija Stanojevic <ksenija.stanojevic@...il.com>
Cc: Hartmut Knaack <knaack.h@....de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] staging: iio: initialize data pointer before using it
On 19/06/16 11:03, Nicolas Iooss wrote:
> 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.
>
This is just me being slow at sending a pull request.
Good point of the lack of a listed development tree. Will fix that so
no one else wastes their time as you have.
Sorry about that!
Jonathan
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Powered by blists - more mailing lists