From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754966Ab3LSQgX (ORCPT ); Thu, 19 Dec 2013 11:36:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43590 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522Ab3LSQgV (ORCPT ); Thu, 19 Dec 2013 11:36:21 -0500 Date: Thu, 19 Dec 2013 08:36:23 -0800 From: Greg Kroah-Hartman To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, Alan Stern , Matthias Beyer , Sarah Sharp , Hans de Goede , linux-usb@vger.kernel.org, josh@joshtriplett.org Subject: Re: [PATCH 1/7] drivers: usb: Include appropriate header file in hcd.c Message-ID: <20131219163623.GB12255@kroah.com> References: <0e0e74b4487edd341b66674333d734d5828c7e64.1387439261.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0e0e74b4487edd341b66674333d734d5828c7e64.1387439261.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 19, 2013 at 03:36:00PM +0530, Rashika Kheria wrote: > Include appropriate header file include/linux/usb/otg.h in core/hcd.c > because function usb_bus_start_enum() has its prototype declaration in > include/linux/usb/otg.h. > > This eliminates the following warning in core/hcd.c: > drivers/usb/core/hcd.c:2295:5: warning: no previous prototype for ‘usb_bus_start_enum’ [-Wmissing-prototypes] What is generating this warning? I don't see it here on my machines, nor do I see any of the other warnings you have fixed in this series. How do I duplicate them? thanks, greg k-h