Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp938094imm; Wed, 10 Oct 2018 06:43:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV600/doE9XmmjCubJHENJwzP/4N+66xs6Zdn3JnNh4JyV09EsCingiD0wGdRcYvPsz2ZiTZ5 X-Received: by 2002:a63:c00b:: with SMTP id h11-v6mr30207737pgg.159.1539179019421; Wed, 10 Oct 2018 06:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539179019; cv=none; d=google.com; s=arc-20160816; b=OU5tmrD9EBR2/q7pr/vpfJZ9ym6WHYX9wzRjAg1Vr8sriKGMQrfSV6R/cOTGVjAEe+ dO3nF2s7x/ghwneOPeMFvBlgCJMdnNPr2nsOa+0oX3vA4Yf+ZoIg/ntL+g/lZGEcNhXE Ws1FVilDWbz1U9dHPNcLP5JJpc3M7A3j497AlIBmWyeeKOPcbERSqikIPsqlseUtjxnS K8N/p+8aP9i1pBuw3PJ+spThL9OMIkEJ6USDCGhweR1MoAd/p+WP0EhjlFnW730cbH1u qwVha74lQWV304nJkIAJZBK+n0aMA8PLDbl/33oAbc8lS0gOHSNv/y73yqUp2UbmivAL aUYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=wjCd5QE+HWG605w7R/TeGs1mAEop7NTay/v5wqhExrg=; b=BZspUiTMPK2tI/JcDEFYzQ6ATxQLDck85qs1E8jAIbOUia1xGx45XZNpxXVZDhYuK1 D3ynltmyS3zZS0npY54gT8TxklON9HPFfgSK8XHpjM3QFiRCffUhjTD1PrXkMz5vsfFO FUO5+3DFqAqx474ukgtGcEvvvFlKi0W5cmmIC8e5vnuIKIDp6F7RJF3dDVVa0EeS4ZMH Jlr6topopR3aCP5ire70OQCw6mspFQG39VJf1kG/QlH04tzgQQwoA44fe51i+YCwZdGX 65zeOwMYnBO17Eo8QYjvqGjrFv3NePvYe+7TKhX+UqZ38aPB+hfUsgCVuRU7K7HQz5rf qj/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CtSert0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u69-v6si22887481pgd.353.2018.10.10.06.43.24; Wed, 10 Oct 2018 06:43:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CtSert0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726791AbeJJVFG (ORCPT + 99 others); Wed, 10 Oct 2018 17:05:06 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:54312 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbeJJVFG (ORCPT ); Wed, 10 Oct 2018 17:05:06 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B10216F; Wed, 10 Oct 2018 15:42:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1539178970; bh=GBEHjACTiW5CfR/3McVsPOOD9s3Fge2Uf0cB1xA3x70=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CtSert0j1wv4vcMmy5phig+x+qo3i2NoDftpiIcrzDd3hx3OTOfKAHv3moF6YUIJ8 NFFzxj2DjbvJhN0D9oQElihos2s8/NnYV/wnuqGsHixjzVb7Yw8jcZOFk756+nSHv5 T4a0bPclhyjA/VmesN9I6Vm2ppPFoyalmlNAAIhA= From: Laurent Pinchart To: Paul Elder Cc: kieran.bingham@ideasonboard.com, b-liu@ti.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, stern@rowland.harvard.edu, rogerq@ti.com Subject: Re: [PATCH 1/6] usb: uvc: include videodev2.h in g_uvc.h Date: Wed, 10 Oct 2018 16:42:51 +0300 Message-ID: <21991723.GNvD0vKHyi@avalon> Organization: Ideas on Board Oy In-Reply-To: <20181010024903.1633-2-paul.elder@ideasonboard.com> References: <20181010024903.1633-1-paul.elder@ideasonboard.com> <20181010024903.1633-2-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, Thank you for the patch. On Wednesday, 10 October 2018 05:48:58 EEST Paul Elder wrote: > V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in > videodev2.h, which is not included and causes a compiler warning: >=20 > linux/usb/g_uvc.h:15:28: error: =E2=80=98V4L2_EVENT_PRIVATE_START=E2=80= =99 undeclared here > (not in a function) #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + > 0) >=20 > Include videodev2.h in g_uvc.h. >=20 > Signed-off-by: Paul Elder > Reviewed-by: Laurent Pinchart This is independent of the rest of the series so I've taken it in my tree=20 already, with the subject line modified to use "usb: gadget: uvc:" as a=20 prefix. > --- > include/uapi/linux/usb/g_uvc.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/include/uapi/linux/usb/g_uvc.h b/include/uapi/linux/usb/g_uv= c.h > index 3c9ee3020cbb..6698c3263ae8 100644 > --- a/include/uapi/linux/usb/g_uvc.h > +++ b/include/uapi/linux/usb/g_uvc.h > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include >=20 > #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) > #define UVC_EVENT_CONNECT (V4L2_EVENT_PRIVATE_START + 0) =2D-=20 Regards, Laurent Pinchart