Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758032AbbBEPCE (ORCPT ); Thu, 5 Feb 2015 10:02:04 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:58603 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756786AbbBEPCB (ORCPT ); Thu, 5 Feb 2015 10:02:01 -0500 From: Laurent Pinchart To: Lad Prabhakar Cc: Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: gadget: fix sparse warnings Date: Thu, 05 Feb 2015 17:02:46 +0200 Message-ID: <9554101.sx7IWG6fvB@avalon> User-Agent: KMail/4.14.3 (Linux/3.17.7-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1423141338-18511-1-git-send-email-prabhakar.csengg@gmail.com> References: <1423141338-18511-1-git-send-email-prabhakar.csengg@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1465 Lines: 48 Hi Prabhakar, Thank you for the patch. On Thursday 05 February 2015 13:02:18 Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch fixes following sparse warnings: > > uvc_video.c:283:5: warning: symbol 'uvcg_video_pump' was not declared. > Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable' > was not declared. Should it be static? uvc_video.c:381:5: warning: symbol > 'uvcg_video_init' was not declared. Should it be static? > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart Felipe, could you please take this in your tree ? > --- > drivers/usb/gadget/function/uvc_video.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/gadget/function/uvc_video.c > b/drivers/usb/gadget/function/uvc_video.c index 9cb86bc..50a5e63 100644 > --- a/drivers/usb/gadget/function/uvc_video.c > +++ b/drivers/usb/gadget/function/uvc_video.c > @@ -21,6 +21,7 @@ > > #include "uvc.h" > #include "uvc_queue.h" > +#include "uvc_video.h" > > /* > -------------------------------------------------------------------------- > * Video codecs -- Regards, Laurent Pinchart -- 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/