From patchwork Sat Feb 17 21:12:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Moritz C. Weber" X-Patchwork-Id: 202711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509534dyc; Sat, 17 Feb 2024 13:14:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWd9fehBlfmDfqakyKboHzlEiBoIoq3XL1F1oeLr9j3XMGGua8rMV+ATbGHfT0ioG9SpWKLt+W9asJFhHXSCydx+7bvfw== X-Google-Smtp-Source: AGHT+IFSPD0kLfwueDod9xUEp80I4b1TmjF2aXb+kHlyxAEhNGJLq8FWdTjqGc4ZVy2NnX45IYn5 X-Received: by 2002:a17:906:e2d9:b0:a3c:a65:7bd8 with SMTP id gr25-20020a170906e2d900b00a3c0a657bd8mr5602798ejb.24.1708204478265; Sat, 17 Feb 2024 13:14:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204478; cv=pass; d=google.com; s=arc-20160816; b=kXEqdpML6CKS9AaLRormuJDTO7svyO1wQvz2X1PqmVomkWHkv90qhG+eemLAvIwpSJ iq+h0afiMtNrw4nqBQSVhniqkYRlgndnxbGL4UplvF9iKz6TGGJDIcLj2iRW+9oFHqUc Ocfp4eOJsxdHFYDTWxhQFS0k56FCQPoZ45J0LZIWcuV15HYofWEKiGRK5VrcSGpDv5bk 6OxZbAFSinfQH1Hcnyp+t7hOr9H2Xw2Pk5RbSKyH5FbhQpoy4NRqZm7jaa0sMB1jP8qn 74KjV1ytJk4YMMWnV5mqKRwiymBaY3txjLnBhJm5ZmlVcofO9GuqxSb3Ja/Iou+B4H68 A/AQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; fh=f6ou42qxVYAmMGYgcw3CEyHMZSPcpV0ZGiNSe3XfOvI=; b=tvPB+Je5kE5qEb05G2BK43Vy/r7imZw/xHHTpD7AX8mviI1SpV9HOEhX7tnjMJAFhG hNsPGizzPGIBS2kMqwz5x8m/pM3nlTNnCi58WKb7kDcZSzlE9+7hwgjGsD452FofZwbG Kei9zcEOufvILoTb1Q3YPe4k1V69lUie/cyf0kqwjFLoQ/0mU+BUi2KpXRoZf3Qmxt9G j0SJXmwWkQzHjeyRO2WotukzbxtaLdg05k5fi1ZIla6tkIfLpuMdRCPWyN0gElONy+SW n6hQDb9UHzyVn0AGDQ389PJoDAF3+EzOJ/xtbo/ERKXOZjpSp4VrSzrNPGAVEEvMcFLP hyZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MwkBlgzJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70085-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70085-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ho31-20020a1709070e9f00b00a3bf06a9c9esi1134533ejc.694.2024.02.17.13.14.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:14:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70085-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MwkBlgzJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70085-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70085-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DE9BC1F2203E for ; Sat, 17 Feb 2024 21:14:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8223080C07; Sat, 17 Feb 2024 21:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MwkBlgzJ" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6B71657BE for ; Sat, 17 Feb 2024 21:13:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204421; cv=none; b=fYU03k38Bt98aAXedwXT6aY99AtJyLLrAEi3Lgfjo+A4UL410B0TWLcxSwjSK2os791ipAkUcobk7wpnKLmby02FUAPKcunjdYgePJkcLQYQwOxBOrlh26EqymyPWiEClLhigOOZVX7INtFo/QR4mbmmIdz627jTWTOb78WueEo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204421; c=relaxed/simple; bh=nx+tftz1nBVA1JDthW839KRrG90SMOUclvTtsVrk+RY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KeWMI6udAUip6/dXKArVLSBI68fvOs0NaYV/QZA2hZ3+GW5QBOMECUF79o76dmKjHkC9GfMi9IJiZzUN0HmAOc7+U0FGIZQyoEXbXap7VH2oWuwOo0o3wzcxVYwKZxySQtlHyUcxIrR+SLWI7XS9zLWBgAPEcRGv+cyfZL0i2M0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MwkBlgzJ; arc=none smtp.client-ip=209.85.208.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d1080cb9easo43022791fa.1 for ; Sat, 17 Feb 2024 13:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204418; x=1708809218; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; b=MwkBlgzJR0jNvqgf2rPna3qliDdbr30qojIw1tK+ugawPaaEzD0sRjWUeaGaSafdBq SWApM2Kw+VnsV1M1H1XkgJz4TmXMqHAPJ8JbdFMY69gtvCYxj+hvy65uv7omQGRYHSaR CkdSMIyvv2Y3ObG6WWrBME9d3hhU3s8X1GzbQ1AWHUza+rr4cyb2NVwajflfc0e1m206 9kQ0vUJewS90HzHcQVnAxeTYsXEykDg7kxPyG5b7tvDFpWNTua9eOwCXo6jR47ALIBSj iWLGZsBWfZBUfiSMT/lNuinuJIQJHnvXnKjx1CrwuKEUJi5eQR5k8bSWrJJd01p09fgX +xEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204418; x=1708809218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=80aNxi3/T+LbaRRg/6R2N0khZ/zy5It3WYtSjVAdo14=; b=XCqp9rzst/U3QQxtWyCT167JlELUt6w5PettivBY5WmcMHhUFRhonx0JuNKtbh2F+e H/ZrF3s3mBf6ran1Hw8u+geoB4Vh9WtJU0rX2xquNtCcteYrGzQBaxCTZYNIZWnZoE03 DX1Xx/wxrxUkbp3q1VsYPNYbGB2T+LgvElMXRlLS7fwlwc00MHBlJ0UAQZSZGnNcQ3b/ 9JdalGlJePPtUvsFqPMvh0h4umdQgUVKlwK6mi8/LtvxH8Aj3VGv/Dtr60MX0n/tQOUv HSCTMewFo9E/R830gqAg2gjoea0y/LE3Cr1AET1nq6A/Sewv5+S9I/ORweiB6fkJ7Mpy JPEA== X-Forwarded-Encrypted: i=1; AJvYcCVVQlf9hbGOkVJTf6fAxFqO8oZZmyXGONPoynvUGjUo0MG2NOdH1lh0mJSoJ3BA2AJ3p+kd4eFrnZVgaluFcLTt8ilUkwPExfbbQ27k X-Gm-Message-State: AOJu0Yy7A/lCR2MV1O26icW9mPihgipfiZGI9wSdfeIAWrszE8OCGHbc W2MEacxG5KKM8spk/z+Lp/Xc+HGaQbqHOdQOmdgG82JmRAoKv/ITDCEfm9dp X-Received: by 2002:a2e:a543:0:b0:2d2:ccc:ac2c with SMTP id e3-20020a2ea543000000b002d20cccac2cmr6041608ljn.4.1708204417902; Sat, 17 Feb 2024 13:13:37 -0800 (PST) Received: from pinguine.lan (ip-176-198-146-182.um43.pools.vodafone-ip.de. [176.198.146.182]) by smtp.gmail.com with ESMTPSA id n3-20020a05640206c300b005644eca3befsm132087edy.85.2024.02.17.13.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:37 -0800 (PST) From: "Moritz C. Weber" To: florian.fainelli@broadcom.com Cc: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Moritz C. Weber" Subject: [PATCH v2 3/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:41 +0100 Message-Id: <20240217211246.28882-4-mo.c.weber@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240217211246.28882-1-mo.c.weber@gmail.com> References: <20240217211246.28882-1-mo.c.weber@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791182191942256755 X-GMAIL-MSGID: 1791182219043856267 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../vc04_services/bcm2835-camera/bcm2835-camera.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index 1fa868163..dfa9e7670 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -418,11 +418,10 @@ static int enable_camera(struct bcm2835_mmal_dev *dev) int ret; if (!dev->camera_use_count) { - ret = vchiq_mmal_port_parameter_set( - dev->instance, - &dev->component[COMP_CAMERA]->control, - MMAL_PARAMETER_CAMERA_NUM, &dev->camera_num, - sizeof(dev->camera_num)); + ret = vchiq_mmal_port_parameter_set(dev->instance, + &dev->component[COMP_CAMERA]->control, + MMAL_PARAMETER_CAMERA_NUM, &dev->camera_num, + sizeof(dev->camera_num)); if (ret < 0) { v4l2_err(&dev->v4l2_dev, "Failed setting camera num, ret %d\n", ret);