From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbdALQcq (ORCPT ); Thu, 12 Jan 2017 11:32:46 -0500 Received: from 92-243-34-74.adsl.nanet.at ([92.243.34.74]:51032 "EHLO mail.osadl.at" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750835AbdALQcb (ORCPT ); Thu, 12 Jan 2017 11:32:31 -0500 Date: Thu, 12 Jan 2017 16:31:59 +0000 From: Nicholas Mc Guire To: Greg Kroah-Hartman Cc: Nicholas Mc Guire , John Youn , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: dwc2: host: fix Wmaybe-uninitialized warning Message-ID: <20170112163159.GA25260@osadl.at> References: <1484236478-308-1-git-send-email-hofrat@osadl.org> <20170112162500.GA10283@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170112162500.GA10283@kroah.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 On Thu, Jan 12, 2017 at 05:25:00PM +0100, Greg Kroah-Hartman wrote: > On Thu, Jan 12, 2017 at 04:54:38PM +0100, Nicholas Mc Guire wrote: > > Signed-off-by: Nicholas Mc Guire > > --- > > Problem reported by sparse > > drivers/usb/dwc2/hcd.c: In function 'dwc2_dump_urb_info': > > ./include/linux/dynamic_debug.h:134:3: warning: 'pipetype' may be used uninitialized in this function [-Wmaybe-uninitialized] > > __dynamic_dev_dbg(&descriptor, dev, fmt, \ > > ^ > > drivers/usb/dwc2/hcd.c:4492:8: note: 'pipetype' was declared here > > char *pipetype; > > ^ > > Patch was compile tested with: x86_64_defconfig + CONFIG_USB_DWC2=m + > > CONFIG_USB_DWC2_VERBOSE=y > > Put the above in the changelog text please, I can't take patches without > any changelog text :( > sorry - simply forgot to put that in - just resent as V2 thx! hofrat