From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:24506 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753048Ab3KKNGv (ORCPT ); Mon, 11 Nov 2013 08:06:51 -0500 Date: Mon, 11 Nov 2013 16:06:34 +0300 From: Dan Carpenter To: Michal Nazarewicz Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Hans Verkuil , linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCHv2] staging: go7007: fix use of uninitialised pointer Message-ID: <20131111130634.GH5302@mwanda> References: <1384108677-23476-1-git-send-email-mpn@google.com> <20131110185210.GA9633@kroah.com> <87fvr480o9.fsf@mina86.com> <20131110210647.GA5302@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-media-owner@vger.kernel.org List-ID: On Mon, Nov 11, 2013 at 12:46:24PM +0100, Michal Nazarewicz wrote: > go variable is initialised only after the switch case so it cannot be > dereferenced prior to that happening. > > Signed-off-by: Michal Nazarewicz Looks good. Thanks. :) regards, dan carpenter