From patchwork Mon Jun 14 10:34:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 459799 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3161355jae; Mon, 14 Jun 2021 03:44:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxXxLC3TQBM9Wd/BlZc/ZNEgnT1K6VfLusmMje1HhAwFNDHXtr6n5jPRo1LyWhfhjixyVp X-Received: by 2002:a17:906:b4b:: with SMTP id v11mr14713359ejg.359.1623667480674; Mon, 14 Jun 2021 03:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623667480; cv=none; d=google.com; s=arc-20160816; b=nTuzm89PRAspVgjcGlnh7sKmzXNluOTkM/tUjRYk9VD7UNC4DTITh5D3n2UfrdjQ+M xqUfLJl8Y74kLVhCdyqBG6+jrtKO7KRP9/HBojECAmYNsLLtzyXfCMie/xkbcx0uWhl2 TzVGg2xEeELZXSHhpMdJdPo7sRpRplAZW+3xfoPVgftITDBlItqw/LsO0u058po2FABT D7w2i+Vh8MI32zXdQ9jxaGGtU2FeegIPWIjJ8A9mE3EsM0L4F5FCvPbAF/eNzoixg69K m473WRl/k719qHTQDG8cQ6KHWTJmsX5JQa0TM3zOmbgBh9IzAJoJ3OM2i4j/zc/Yrvj+ Ewlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6+vcM6sq5OGWENxXRgGIwQyQHDa1oQG7qEubJxYEjDI=; b=xe6F3DBA6a6AhJ1rn3/6j2h9cJ1fRaZH1cRVub3BRUZ/QdClvTswK61cVVc/f7z//l vSMQUzwZda+BXaSYo6NXr8lC0R1leyy6D4XHgNKhIMcRs64qDKVVZSNgYpfznzivQXW0 hxlrSi93XRA+kUWX6kSa4HeXQmg+2h/QTctcuedsLLzCVSuj8ZdHdbEsYAvC5938oJmU dNLFYDMMZ32B+EdFWZW0Yk24sX06kXUmH1ll2Y2e1ogvfI67tDnTmW0xpSwJOrghx3Nx pjBA3AcDVFe/sZ9HGCJLGlaXsKqFBInqRBrgVz3btirGXAevb568CBTZW4ATVdHi/IyU GsQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S81+0Ipk; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si10609433edc.458.2021.06.14.03.44.40; Mon, 14 Jun 2021 03:44:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-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=k20201202 header.b=S81+0Ipk; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbhFNKqQ (ORCPT + 4 others); Mon, 14 Jun 2021 06:46:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:50484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234105AbhFNKoJ (ORCPT ); Mon, 14 Jun 2021 06:44:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CFCC61445; Mon, 14 Jun 2021 10:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623666977; bh=8W/ZXGZjpUtm/og8bVr+bOo9zj9+oALHaRtC050jLqU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S81+0IpkKdPFxZyFrE0j8Ha05DgDcAnxEyLgwOBcUJsb/JRkXwDXHixZ9TWLuIWs8 AxrFejftFXYLCKxPInq028CDzaB8h16mbnJoMsTAbH6AUpVCbmaf90luX5AX2lYDJ8 z6ySPx+MozeCfZnL7IH7Vl3LWI3hoYRObB8Lg540fZ3dPyBKZwtGAWEUdV7OaDGGtn Gce/d1ugu1NOXsp1KJHd5gzFmlb5H3bDWx/YcXeoQRl1axwHfCqnIv9Gbfj+zGSfSJ W8rDVgQwJ+dB0OtbZoxe6Ol515fnM7sPggiPmHvBEA8ssmyGpCP9mmsGBeuak6w0jT uTkyRRJRafMVQ== From: Arnd Bergmann To: Hans Verkuil , Mauro Carvalho Chehab Cc: Arnd Bergmann , "Lad, Prabhakar" , Eduardo Valentin , Sakari Ailus , Greg Kroah-Hartman , Vaibhav Gupta , Liu Shixin , Laurent Pinchart , Jacopo Mondi , Andy Shevchenko , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v3 3/8] media: v4l2-core: fix whitespace damage in video_get_user() Date: Mon, 14 Jun 2021 12:34:04 +0200 Message-Id: <20210614103409.3154127-4-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210614103409.3154127-1-arnd@kernel.org> References: <20210614103409.3154127-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- drivers/media/v4l2-core/v4l2-ioctl.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.29.2 Reviewed-by: Laurent Pinchart 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; }