Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3929685ybx; Mon, 4 Nov 2019 05:10:48 -0800 (PST) X-Google-Smtp-Source: APXvYqziNw8C56ARTjKAX1O8hZNhSYGRTqgGs2ILbi3jlBwDM8my3OSwd+q0gkYK69G2gWl3eYBp X-Received: by 2002:a17:907:2070:: with SMTP id qp16mr6072617ejb.115.1572873048024; Mon, 04 Nov 2019 05:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572873048; cv=none; d=google.com; s=arc-20160816; b=V23x6MPNeDxWAHStv8op7VTxIyO8dfeXT8mosd6auKoowJYYsDjt9vCUDDJI79PUX3 /ov557Z9JmsT+s25dL6Hbaz8SbWbjy19EdRW0lW/1CFledv6zM4k80TWDGZPls5scn+m N0qRsmnoQSbo5tOFb4Uul7w84r9D6QMEA1h0ZPf/eZAyiUGBuKoVIEhrKGtgIUH4gU8C gatPW7rjXsS7uM8Z4G1oIIel8LQ1MDag3x+FHzzMmy1zkUlsgeptPZRPdGyiN65xMzGf dLsLBDJZaJQOEpPtGdo568/dUZ8JyYmZXoEeUSntF7qyhCcEvEJ6klLjOycqgoj8SLuA bATA== 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:message-id:date:subject:cc:to:from; bh=0W10DXwaVM53AXBTDklaYFrwsbXNjvFaekrr8EZmqhM=; b=cL7Oyg6OMvQ4IOKb+ZV7+mnuCa2pauCG/qg9LqS2Tvqb9guh+D72oK1BV2tLypmd7U Bt4a9iYpADUipUSOKmG7HmGa/H7y1ac/duRCxTq0DyyU8NNHcK4ZrlpK8//tOwDTaMh8 7eMcxdNjuf7BaA+JTl5J+S2YB841+iERiuj5sGisM0mSDSfS58uVjNqwrk3cgMPodoYI 0ttXRfKNEUKNX8UabATiNX0tsi3Ep6XuT4zU4qribtVq1GnUsNNHM33lb0jh1AwJhsek 5Un/3RvtB1W0cKF+eCzpCPHOQdZgF8cKc2kZvPm8FuUJ32BMeuMVseBFU7SMvVowIfKR fd9Q== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h37si6958397eda.249.2019.11.04.05.10.23; Mon, 04 Nov 2019 05:10:48 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729167AbfKDNJj (ORCPT + 99 others); Mon, 4 Nov 2019 08:09:39 -0500 Received: from mail-lf1-f54.google.com ([209.85.167.54]:38739 "EHLO mail-lf1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729089AbfKDNJh (ORCPT ); Mon, 4 Nov 2019 08:09:37 -0500 Received: by mail-lf1-f54.google.com with SMTP id q28so12218831lfa.5; Mon, 04 Nov 2019 05:09:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0W10DXwaVM53AXBTDklaYFrwsbXNjvFaekrr8EZmqhM=; b=m4uLtIf2x9AhuMG+EJSSmi1DEOVtsDoHZoyZ8KshqYcBN/mhwcz4c+UZyprpbhsJGx EALb3coHk6D7WvIPaMEbSX9w70CWX5emG0cgrJklXMy0QOkhYfjVuuOEiCTPnOR6I3lz JDuMndMtKelH9DDW3/uSeDJ0C51ioBud0VIii00ZWUJ58CA+zbLmZ9l8nDWJofEAMfwk n9FFsjzpeW9wa8kk/svtFKhdcxzx2ZRJFoKri1XHdEQDC9vVAyRgqwBhyZhkHGv+8C4E n3tP99tdKOKZu0cQn3doL1BJ3eCwSIu0M3oZ2NKgsBv3N6c05nAwjLPzLDGjzDAv6Ua1 ylbg== X-Gm-Message-State: APjAAAVxVmivd3mnfm5nF7njQf28hdzrcatmXwY6bX9wWLdreeCD9mP2 +OEGiYMlSrC3NVUclHN5bk0IVaf5tmo= X-Received: by 2002:a19:ab11:: with SMTP id u17mr1923139lfe.78.1572872974415; Mon, 04 Nov 2019 05:09:34 -0800 (PST) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id q124sm985414ljq.93.2019.11.04.05.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 05:09:33 -0800 (PST) From: Ricardo Ribalda Delgado To: Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ricardo Ribalda Delgado Subject: [PATCH v4 4/6] media: v4l2_core: Add p_area to struct v4l2_ext_control Date: Mon, 4 Nov 2019 14:09:21 +0100 Message-Id: <20191104130923.22184-4-ribalda@kernel.org> X-Mailer: git-send-email 2.24.0.rc1 In-Reply-To: <20191104130923.22184-1-ribalda@kernel.org> References: <20191104130923.22184-1-ribalda@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow accessing V4L2_CTRL_TYPE_AREA controls without any casting. Signed-off-by: Ricardo Ribalda Delgado --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index f98bbcced8ff..04481c717fee 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1684,6 +1684,7 @@ struct v4l2_ext_control { __u8 __user *p_u8; __u16 __user *p_u16; __u32 __user *p_u32; + struct v4l2_area __user *p_area; void __user *ptr; }; } __attribute__ ((packed)); -- 2.24.0.rc1