From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAF8572 for ; Mon, 14 Jun 2021 16:59:11 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 681D3A59; Mon, 14 Jun 2021 18:59:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1623689949; bh=TTzEHwOuhgSM39sroCCujZmwX9sHOPc/YKGwgSdMLOw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TXA1lrj7Ogj8VCiIJkQWIZ0+cVLqkwICv4YBmxgUJ1deC6tg7jESEKsWPIa4Ro85f fCFiZZWVcoYY3MmGjHFADEbCgDddU6WBZwdAp/vXKzGMrJA8R2GJGzSsx+Mt7ySzmG Q0DJlIp53YGMYykmlAB9pPwqgZcD/+mjb6CO486U= Date: Mon, 14 Jun 2021 19:58:49 +0300 From: Laurent Pinchart To: Arnd Bergmann Cc: Hans Verkuil , Mauro Carvalho Chehab , Arnd Bergmann , "Lad, Prabhakar" , Eduardo Valentin , Sakari Ailus , Greg Kroah-Hartman , Vaibhav Gupta , Liu Shixin , Jacopo Mondi , Andy Shevchenko , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v3 3/8] media: v4l2-core: fix whitespace damage in video_get_user() Message-ID: References: <20210614103409.3154127-1-arnd@kernel.org> <20210614103409.3154127-4-arnd@kernel.org> X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210614103409.3154127-4-arnd@kernel.org> Hi Arnd, Thank you for the patch. On Mon, Jun 14, 2021 at 12:34:04PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The initialization was indented with an extra tab in most lines, > remove them to get the normal coding style. > > Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c > index f19e56116e53..d94389145479 100644 > --- a/drivers/media/v4l2-core/v4l2-ioctl.c > +++ b/drivers/media/v4l2-core/v4l2-ioctl.c > @@ -3142,18 +3142,18 @@ static int video_get_user(void __user *arg, void *parg, > > *vb = (struct v4l2_buffer) { > .index = vb32.index, > - .type = vb32.type, > - .bytesused = vb32.bytesused, > - .flags = vb32.flags, > - .field = vb32.field, > - .timestamp.tv_sec = vb32.timestamp.tv_sec, > - .timestamp.tv_usec = vb32.timestamp.tv_usec, > - .timecode = vb32.timecode, > - .sequence = vb32.sequence, > - .memory = vb32.memory, > - .m.userptr = vb32.m.userptr, > - .length = vb32.length, > - .request_fd = vb32.request_fd, > + .type = vb32.type, > + .bytesused = vb32.bytesused, > + .flags = vb32.flags, > + .field = vb32.field, > + .timestamp.tv_sec = vb32.timestamp.tv_sec, > + .timestamp.tv_usec = vb32.timestamp.tv_usec, > + .timecode = vb32.timecode, > + .sequence = vb32.sequence, > + .memory = vb32.memory, > + .m.userptr = vb32.m.userptr, > + .length = vb32.length, > + .request_fd = vb32.request_fd, > }; > break; > } -- Regards, Laurent Pinchart