Message ID | 20240217211246.28882-9-mo.c.weber@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-70090-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509772dyc; Sat, 17 Feb 2024 13:15:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOwTfn1maGHPBG1YiLrJKbe8tbRDzcoWKEUVKWN/QhK/agGbHonJTdoeyt3ETfJvX8MuyLLvYellG+MHnYOYpifSi4ig== X-Google-Smtp-Source: AGHT+IEllkOTOY5+Fd3rdBA7i/mVr4/X+uqRPj+LqHmVErQ9BLvWrSv4TMWFK4IzKLoDX322r+CJ X-Received: by 2002:a05:6a00:1996:b0:6db:b355:892d with SMTP id d22-20020a056a00199600b006dbb355892dmr11514824pfl.2.1708204529732; Sat, 17 Feb 2024 13:15:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204529; cv=pass; d=google.com; s=arc-20160816; b=CN4Eyb90yBh9n4E1uaf70HrLK/R9JAZvgJvt89gNGMKst9cO1R3JR0xl+rh1aBXqRv rish+Ur69xoj25NcJAWjA9GjNKtKq01Pj/kb6VzMFhj32HAIWTYW4/9ktCdBGtNM5I0K +FVIb0pOnArWuqxzR3WrHawMpXXoXuFN8+MKF774nvWH33ajLL3TIwEarJki1agAMUWI pFEdxX2YTNkW6RLGK59+i7nypoJWoi/uoAw6OYTG07M3AkzKicM7aBVGVKpzHzPr52xj uYGonPLXWX8QGhLtAErjA81TOzc9Fadb0bSroBQ2xKX7bLZfm4jTN+UilIMpLvMl+pmT +f2Q== 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=9eEAN/dOCoAmlP3G0zjBQsaiJN7xwf1Z8pHlWa8opt4=; fh=F4C/8J+dXJCNZSC6tbOLFwKz6KcH9iVkQsA+0erJWc4=; b=EgMKrRPuHRWJNcBQR486cHAgPC56FnvvVmMxiZ6BP2vuT+FHMJSDszu3e/mAgPUNDo TdJatvNdXOlTmrvPCNM9YgFeAxIjy2wxI8xr5GOH68vL3LPm4zkX+6MksEDR8KErhuWJ dSAwZmzLqugWmAiEp81kGLiP5osfDXtZSjzMVJNifs5aNbwpwFNKoW6pQtDeSMoIGNt8 yODihkrgdQJxspZRuO65P8WJfmVol8PhDp2oL6e8rr82+Hzb9NE01GAJNikUn1ZvrZBo otn89wLKOxG9Cx1p/jjZzngSFpwKOVDwsG03i9JZ5DG2RMiQsrXrgKv8hl5eEfj6+/8K xOLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X25I27RW; 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-70090-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70090-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q23-20020a637517000000b005d8b884ae31si1962793pgc.568.2024.02.17.13.15.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:15:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70090-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X25I27RW; 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-70090-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70090-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C947828178B for <ouuuleilei@gmail.com>; Sat, 17 Feb 2024 21:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5648C81AA9; Sat, 17 Feb 2024 21:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X25I27RW" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 D33997F7F4 for <linux-kernel@vger.kernel.org>; Sat, 17 Feb 2024 21:13:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204424; cv=none; b=tb9vDhWK/YP1/rE5Ek8bBnWClC3h63BgQCHPYHIG4FjRT1Jl882tTU3UbqWrUJcZilSogNgYYk34Ewba5JN0YSb1jC/TP+f3PmaWhjWzAaUTeOaDrVHLZ+n0PINiXW6recUPc5O9VCAt46kLBTkD/xPgHv7g3Va1fLMPpUVIECo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204424; c=relaxed/simple; bh=Egs5AAdslHfC4udI6Z6vOJIl9ypQt5Bm3xmTh5+bEAQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LTg3X8pgMF6W+CairKAAxm+0z/K3elzd1WVe5yJhVbst41osYIhTtmIOTpPlnizjzeeykPu1A7CUS9zSKDaZlatnssjIER8r/F8C1bkyp47H8X6gBDcB/+sQYe/XO7IYWIWJt/FEX0sJnneRcIK0+kAojCkKl/KrMmnAJveO9XI= 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=X25I27RW; arc=none smtp.client-ip=209.85.208.174 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-f174.google.com with SMTP id 38308e7fff4ca-2d107900457so44499381fa.1 for <linux-kernel@vger.kernel.org>; Sat, 17 Feb 2024 13:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204421; x=1708809221; 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=9eEAN/dOCoAmlP3G0zjBQsaiJN7xwf1Z8pHlWa8opt4=; b=X25I27RWzsymcIrIxVj7+094aLpXPZ0q+H4uP6CUes9s1WyUKV5y+P1iB6cE+1ez/G SRfuesQICwlOX7SpumQYFMf2PE/IoiSEwSSitL8l7Q0jmaP7Ii0T+OSxwmYwrZpzqt5N oJoW1z50QHrXzP3k05BFGs0yAXJQShaMDTlPy1+MS+8GHcGeW+ri6khilbbFhqZJhja8 APRNWGGCk1kBIZ6Zl3BCR+6VTRpTmLihdq/6TySwDWoYrTN5aJe1NSJCnOyo2etSAAnm lZ/GL/Qlf7dtVaFOk3QJAEQDccEOscReAmiudnaObOq6uVMwVzneGNmQ/CSbM5hKvgfa roTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204421; x=1708809221; 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=9eEAN/dOCoAmlP3G0zjBQsaiJN7xwf1Z8pHlWa8opt4=; b=r8u+hOfT1ZA021dv1p5B+I4Tqr0NhthfOzxttS5rlxbIO/WpUz3AAhi9hatt6Ewsko dHaGdo411oeQB+qCNJviu51oF7LsYXxOdbpbx5WI0LjiJ4lUEJWVRWWSqARCKRVSFIeH 8Jb2Gm9V5Ti+uTou76+lS0fjqCWjOycW01ffrXbq83o8Q3vemfx/z246twAVuWo6r5AZ KVrfrQOEYPgfhuft9r52VfWT0Iy/m/ipYOiXt65cUUCwmEyd3rm/gi2UWF8YYyqdC/XF QAtavlRDyzrf3zWe+86C6wp/VbW2pLr/+4gHhEC3gxyKSNDSQc3t/mBd7ee27vGT4yuP ankA== X-Forwarded-Encrypted: i=1; AJvYcCX11/PHpugL0vQjroQ0cfKcOluq3G887h5Jd4yV8ueAStgHLJWJ97dF40SfuOrb/mmElV2E2UhLzODDO7suRs/c7TdYZLeHJFTBeOQJ X-Gm-Message-State: AOJu0YyU+78akqWdhjLlKMCenzJ/8O+sLnXJBnO0Gxp1j34CW4V+Fdt4 3J0C7mfHNve5/HtWFXVuPVkUgiVRNQnx6Wb6JwjH3b2990g+xL7s X-Received: by 2002:a2e:9083:0:b0:2d0:c101:7a71 with SMTP id l3-20020a2e9083000000b002d0c1017a71mr5017928ljg.35.1708204421127; Sat, 17 Feb 2024 13:13:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:40 -0800 (PST) From: "Moritz C. Weber" <mo.c.weber@gmail.com> 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" <mo.c.weber@gmail.com> Subject: [PATCH v2 8/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:46 +0100 Message-Id: <20240217211246.28882-9-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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791182191942256755 X-GMAIL-MSGID: 1791182273028172853 |
Series |
Staging: vc04_services: bcm2835-camera: Fix code style checks
|
|
Commit Message
Moritz C. Weber
Feb. 17, 2024, 9:12 p.m. UTC
Reformat function parameters to fix checkpatch check:
Increase readability and consistency
Signed-off-by: Moritz C. Weber <mo.c.weber@gmail.com>
---
.../vc04_services/bcm2835-camera/bcm2835-camera.c | 10 +++++-----
1 file changed, 5 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 9cd79850b..c3ba490e5 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -1715,11 +1715,11 @@ static int mmal_init(struct bcm2835_mmal_dev *dev) { unsigned int enable = 1; - vchiq_mmal_port_parameter_set( - dev->instance, - &dev->component[COMP_VIDEO_ENCODE]->control, - MMAL_PARAMETER_VIDEO_IMMUTABLE_INPUT, - &enable, sizeof(enable)); + vchiq_mmal_port_parameter_set(dev->instance, + &dev->component[COMP_VIDEO_ENCODE]->control, + MMAL_PARAMETER_VIDEO_IMMUTABLE_INPUT, + &enable, + sizeof(enable)); vchiq_mmal_port_parameter_set(dev->instance, &dev->component[COMP_VIDEO_ENCODE]->control,