lkml.org 
[lkml]   [2015]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()
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


\
 
 \ /
  Last update: 2015-08-06 19:01    [W:0.063 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site