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


Groups > linux.kernel > #1201899

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

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()
Date 2015-08-06 18:50 +0200
Message-ID <pUwwF-6kc-3@gated-at.bofh.it> (permalink)
References <pTt7R-3cQ-21@gated-at.bofh.it> <pTtrb-3P6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read() Tejun Heo <tj@kernel.org> - 2015-08-06 18:50 +0200

csiph-web