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

From: Tejun Heo
Date: Thu Aug 06 2015 - 12:40:33 EST


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@xxxxxxxxx>

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

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/