From patchwork Tue Jan 28 19:12:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 3547791 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9B220C02DC for ; Tue, 28 Jan 2014 19:17:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3EF6200EC for ; Tue, 28 Jan 2014 19:17:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8352200E8 for ; Tue, 28 Jan 2014 19:17:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754866AbaA1TRn (ORCPT ); Tue, 28 Jan 2014 14:17:43 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:45147 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754790AbaA1TRn (ORCPT ); Tue, 28 Jan 2014 14:17:43 -0500 X-Greylist: delayed 300 seconds by postgrey-1.27 at vger.kernel.org; Tue, 28 Jan 2014 14:17:42 EST Received: from ayla.of.borg ([84.193.72.141]) by albert.telenet-ops.be with bizsmtp id KXCg1n00E32ts5g06XCgby; Tue, 28 Jan 2014 20:12:40 +0100 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1W8E5P-00035Z-Rp; Tue, 28 Jan 2014 20:12:39 +0100 From: Geert Uytterhoeven To: Corey Minyard , Linus Torvalds Cc: openipmi-developer@lists.sourceforge.net, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ipmi: Add missing rv in ipmi_parisc_probe() Date: Tue, 28 Jan 2014 20:12:35 +0100 Message-Id: <1390936355-11845-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/char/ipmi/ipmi_si_intf.c: In function 'ipmi_parisc_probe': drivers/char/ipmi/ipmi_si_intf.c:2752:2: error: 'rv' undeclared (first use in this function) drivers/char/ipmi/ipmi_si_intf.c:2752:2: note: each undeclared identifier is reported only once for each function it appears in Introduced by commit d02b3709ff8efebfca0612d0ac2a6e31a91c13f4 ("ipmi: Cleanup error return") Signed-off-by: Geert Uytterhoeven Acked-by: Corey Minyard --- http://kisskb.ellerman.id.au/kisskb/buildresult/10537567/ drivers/char/ipmi/ipmi_si_intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 671c3852d359..03f41896d090 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -2724,6 +2724,7 @@ static struct platform_driver ipmi_driver = { static int ipmi_parisc_probe(struct parisc_device *dev) { struct smi_info *info; + int rv; info = smi_info_alloc();