From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751139AbdALQYl (ORCPT ); Thu, 12 Jan 2017 11:24:41 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:48926 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbdALQYk (ORCPT ); Thu, 12 Jan 2017 11:24:40 -0500 Date: Thu, 12 Jan 2017 17:25:00 +0100 From: Greg Kroah-Hartman To: Nicholas Mc Guire Cc: John Youn , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: dwc2: host: fix Wmaybe-uninitialized warning Message-ID: <20170112162500.GA10283@kroah.com> References: <1484236478-308-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1484236478-308-1-git-send-email-hofrat@osadl.org> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :(