Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752903Ab0KBUVY (ORCPT ); Tue, 2 Nov 2010 16:21:24 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:47901 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751758Ab0KBUVW (ORCPT ); Tue, 2 Nov 2010 16:21:22 -0400 MIME-Version: 1.0 X-Originating-IP: [66.187.233.202] In-Reply-To: <20101102162429.GB14198@core.coreip.homeip.net> References: <201010311518.42998.dmitry.torokhov@gmail.com> <20101102162429.GB14198@core.coreip.homeip.net> Date: Tue, 2 Nov 2010 16:21:22 -0400 Message-ID: Subject: Re: drivers/media/IR/ir-keytable.c::ir_getkeycode - 'retval' may be used uninitialized From: Jarod Wilson To: Dmitry Torokhov Cc: Stefan Richter , Linus Torvalds , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, mchehab@redhat.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 32 On Tue, Nov 2, 2010 at 12:24 PM, Dmitry Torokhov wrote: > On Tue, Nov 02, 2010 at 12:04:56PM -0400, Jarod Wilson wrote: >> On Sun, Oct 31, 2010 at 6:18 PM, Dmitry Torokhov >> wrote: >> > On Sunday, October 31, 2010 10:51:21 am Stefan Richter wrote: >> >> Commit 9f470095068e "Input: media/IR - switch to using new keycode >> >> interface" added the following build warning: >> >> >> >> drivers/media/IR/ir-keytable.c: In function 'ir_getkeycode': >> >> drivers/media/IR/ir-keytable.c:363: warning: 'retval' may be used uninitialized in this function >> >> >> >> It is due to an actual bug but I don't know the fix. >> >> >> > >> > The patch below should fix it. I wonder if Linus released -rc1 yet... >> >> Looks like it missed rc1. >> > > Nope, I see it there, 47c5ba53bc5e5f88b5d1bbb97acd25afc27f74eb ;) Oh, damn. Sorry for the noise... I blame it on my cold... :) -- Jarod Wilson jarod@wilsonet.com -- 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/