Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932203AbbHFQk2 (ORCPT ); Thu, 6 Aug 2015 12:40:28 -0400 Received: from mail-yk0-f182.google.com ([209.85.160.182]:35259 "EHLO mail-yk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932168AbbHFQkX (ORCPT ); Thu, 6 Aug 2015 12:40:23 -0400 Date: Thu, 6 Aug 2015 12:40:20 -0400 From: Tejun Heo To: Tomer Barletz Cc: sergei.shtylyov@cogentembedded.com, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read() Message-ID: <20150806164020.GT17598@mtj.duckdns.org> References: <55BFB87C.1010405@cogentembedded.com> <1438629493-17610-1-git-send-email-barletz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438629493-17610-1-git-send-email-barletz@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 573 Lines: 18 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 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/