Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

Tejun Heo
2015-08-06T16:40:28Z

On Mon, Aug 03, 2015 at 12:18:13PM -0700, Tomer Barletz wrote:
> The variable spd0 might be used uninitialized when pdc20621_i2c_read()
> fails.
> This also generates a compilation warning with gcc 5.1.
>
> Signed-off-by: Tomer Barletz <barletz@gmail.com>

Applied to libata/for-4.2-fixes with minor edits.

Thanks.

--
tejun