Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp319361ybz; Fri, 17 Apr 2020 01:36:32 -0700 (PDT) X-Google-Smtp-Source: APiQypLJ0D/2s1aAk2Ss/mD6GEO+6oZtmtMkpbUVF4aTVORWjheGUA1AlTn9CKUzrkDMg7Cu+ja+ X-Received: by 2002:a17:907:20a2:: with SMTP id pw2mr2001016ejb.252.1587112592112; Fri, 17 Apr 2020 01:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587112592; cv=none; d=google.com; s=arc-20160816; b=d3DMp+9myxpjOR5JrAV8nc3PvJ7EGCdFJ5O9XECFJ+w2Il+LZr350YbSYalzCQeEsR maCYUTxPlc6/uWfEbPFokkgq4DLYCkKr6zxMc64eJ0zsNpoqMtEjdNj6b/TfibEAN6vW OXtCtxu95d/t5nDLAV3yDdIJi4/nuE7XsMUi/rLhD7xAFwCAEfEyrelA2suU+alzfsaX /HYNtRVHFDCJ80p8HFWrjIrQ2v8zdIMlwtMfIFwNMZl5QnWxI16BcrbfBohJ48242sU8 Z0khDhY3WsC+HtVBNaQP3jT5eIWPPqFz89JH++NKV1roN8I/JZohUv4uDYctwJ7Rb0qR Nieg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GnEv5aKBDzRDl+kpxMvT1OfnaydUcTqtMtlDSyqZcik=; b=MukNeSuSFvsFNKAQCS9AVYmJTBG+8yZ7WlzOajiDFCJ4eVirRjOFfu1rzGka0lqLGi qyXvZz1rJZ8F6wpFtlIhB2PmKTpCaEOEU5w1N9mnzMyz/Xa5bYYV5u/PUZS9Q71Z1ivM UgQ1OcoKHGOC5nFeplCbNFSjJMixnI2Za2E+cB8gKYyg1EGD/tt1Ja5bdrMyX3PPyD40 Lw+Pf9tX1z2rxGOKM6hPRDz9p4QioC9M6S/LYyxxodKMrd6/UPEmB1iJRwuD92/+5WE/ aoMZqPal7SxVpKWqjOPJ+JKThm5+MnNjryfmBj7zGh2qh6wHfO0j87KHrXxTyxjrtUJ2 jHLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WGjscELB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si4365174edn.51.2020.04.17.01.36.09; Fri, 17 Apr 2020 01:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WGjscELB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729800AbgDQIfJ (ORCPT + 99 others); Fri, 17 Apr 2020 04:35:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:60670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729747AbgDQIfJ (ORCPT ); Fri, 17 Apr 2020 04:35:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E7F32137B; Fri, 17 Apr 2020 08:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587112509; bh=yusZIU8mnWR2xm+iXYWk1S59cU56InGPz/fLvOeZP2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WGjscELBkH1BA17qa3XYHeYAu0h3Za6/uxMsCdQyZ5JB1TbOgYXei5YT+CiRmINN6 dEwsSG45FEIUgpNpva8absThIDUhh3sfHbpuq+1cgUj4/a5rl+Nd65DhIpthEpNaZ9 DR0yv6JsIa3O1ASJ1Bk9lya4MhrhjcT7ElIjvSe4= Date: Fri, 17 Apr 2020 10:35:06 +0200 From: Greg Kroah-Hartman To: sy0816.kang@samsung.com Cc: mchehab@kernel.org, Hans Verkuil , Arnd Bergmann , Thomas Gleixner , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: v4l2-compat-ioctl32.c: copy reserved2 field in get_v4l2_buffer32 Message-ID: <20200417083506.GB141762@kroah.com> References: <20200417024543.66785-1-sy0816.kang@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200417024543.66785-1-sy0816.kang@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 11:45:23AM +0900, sy0816.kang@samsung.com wrote: > From: Sunyoung Kang > > get_v4l2_buffer32() didn't copy reserved2 field from userspace to driver. > So the reserved2 value is not received through compat-ioctl32 in driver. > This patch copy reserved2 field of v4l2_buffer in get_v4l2_buffer32(). > > Signed-off-by: Sunyoung Kang > --- > drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1 + > 1 file changed, 1 insertion(+) What driver is using the reserved fields? They should be ignored as they are "reserved" for future use. thanks, greg k-h