From patchwork Sat Feb 17 21:12:39 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: 202709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509406dyc; Sat, 17 Feb 2024 13:14:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXzIlwjqm4X1hRuc/DzbeTCUcydRZyYj3qgAFiyoPP8B8OumCOT6kJF/6LvlL7/d5AfMAFueIs+InR7OwAXLPkdcu21ng== X-Google-Smtp-Source: AGHT+IHRhIvLe+MxVoKuHz5l+Fevmltz6f2X79+6e3MO7AiBYh1yvR2Zq52qAt/PZ5vwGn2at18u X-Received: by 2002:a19:e00b:0:b0:511:47e1:aa58 with SMTP id x11-20020a19e00b000000b0051147e1aa58mr6562594lfg.28.1708204452876; Sat, 17 Feb 2024 13:14:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204452; cv=pass; d=google.com; s=arc-20160816; b=A19PaO4+Afk/nBGsIYP8Mnbyv1e7viBTC6DRh9UuLrC7Un0kt00PNphJtDtHZmrSmB QfRaIs1Os1GT00JeXFggrBRVk0IV3pgrRgBRGr239E0OWKkYij/Sclwi4yZfdJFmHC5s y+il2gfWo/TPkI2JPvWk/EWyGsvl5zjelEyquVpPo3OxDImkOE3TL5u22Ivm/8BNe0t3 /2PLMseoJr67WHlMDtFZhmxOUqeYZTs6ppLuu6WxWPX4XZtU8V5zH7Mrz9jdwXFZwJS2 wotyNzcl4XVy172snPzoaYdSOFlnKleLtRTq4DNpn2cAkrE+UUjzogQyKBxlaZlcIV24 QY5g== 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=+GS741zrKEdJkYZt2tXkhtOseE/gYHcmQu8uV5DPSIc=; fh=zXcMRpVryRUG61rwH7hT0T52+ZAaUary3PErXEF0U7M=; b=CAZx20CKZi0DA3aEuxdPEAsPznpZMKNcanK/VH34YcXyvi47Sl90SqEfmcX8nMoTNI xayo395G6ym0lekDALGiAlAF7uwPM5EkNaLeo3oMaieq/VrL25JOmjDgOuxhDShWBadj geaI9qEpOpP5QWpRg+bRx3XGgrAUpDET96Tp8gWIqBtwHBBKcbH8KpBRxCm+Xq2MUpUz fTAroL8ZLxDVMWSnGHWaN370NugDjXuIsJGort9E5CoHF6/8dqkG+mIL7V8ksQH703OX NCv31eriQBCmq5X271bnAMFpfgeJ8QzLYdP+vmKgBixyy71jGh3PeHzzGTyKUKrnuV5J s87g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jCAdASkJ; 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-70083-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70083-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 a20-20020a1709066d5400b00a3debdf9726si1105023ejt.347.2024.02.17.13.14.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:14:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70083-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=jCAdASkJ; 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-70083-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70083-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 7A0291F21F48 for ; Sat, 17 Feb 2024 21:14:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03A8980612; Sat, 17 Feb 2024 21:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jCAdASkJ" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 84D2A7CF20 for ; Sat, 17 Feb 2024 21:13:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204420; cv=none; b=Xx5fkQDFB+DBW9E8jaT5z74GYvY0+8emGn2pJ1o2mbTz6h/Z2amwkJxUnl7xiAlQHF+66lL2X6hhtBpiOKlgiJ6K1PCgZjXQpqScztKfXE6BBEwzIYndsDRTEMGcxOAnGKmKMiFJhh9RnM0PhuXrKEPfhzm12929gKuVBOlasgs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204420; c=relaxed/simple; bh=7hspqxJMlbWp9r8wbinNZ4JYMSL1OjbYJQMw3kfsFf8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CPfRQ6zP0RN6MuX6X7wKkLbJhikwlwYOing/npQKZeMw3thmfBbMQdHVXx+Wck30IizXN2Jh4X25/3O07HmyvHMRjXLx4SOn5TGjSAfQFwEnb2uTbpIdTRKDeOCRE0oCzXsHZd1t4Z1vdOqglfGQLyaLvHTg/t+SWMqZnIBt73Q= 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=jCAdASkJ; arc=none smtp.client-ip=209.85.208.48 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-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-56399fb02b3so3874463a12.1 for ; Sat, 17 Feb 2024 13:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204417; x=1708809217; 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=+GS741zrKEdJkYZt2tXkhtOseE/gYHcmQu8uV5DPSIc=; b=jCAdASkJrJdQLi6BpGEcX9Jq5SqgbjM+l/zdk5x4D7Q+ATRL7VjsTXQ5GsiUbR/Ipe xW6y4Nr3W71ay5uC1AKxxMgXdCJ9f0NpcHkGYbNi6VFTMrFsdb9TmNeIt5YNzilALRHy cz9itxWc4E4oofMSy85O9faguvpfQHOvfreEJSdWglUwoNq/X4EJd/c6G/iBqWLdepkb GPr9xz/jVUTc5BdDrU7ix30ZzWVi/EPq2n0n2idlDTLhKjUPADGDs3HuGCdQIrElxXoq IOqkeKyj+GSvsG6AI1z26CNpUitmtmeX7A3E1AtA6gBJ7NyScwb5tJF4/3AcN47gnVPQ AVFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204417; x=1708809217; 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=+GS741zrKEdJkYZt2tXkhtOseE/gYHcmQu8uV5DPSIc=; b=jcEqH9S3uZroIAAMPnq4huMEC0yQjieyHLKn1NK8+cumZzs6jKOlZHIWPGa0sZK+0d LDOfDPI6Ds4AGHX9BjR1KQfn/G85+4imwJS09zlw4cfmcWkgZiTDrEv+BjmYVC6wmMY0 4wR55NHdqohMKJUdv9NaAzzsDNOUPviQPrbRCu/tjZySCXic9+CTYBzLL4kZeWc6ASEW on6pMmf6798etjdXnPeZ6y5KWzSVQXi71DvugwZRKIajVUGCcHpMlPk0PiScoRxsR5gw Th7xYfPv/MCxD1TuExw2qiLnzq7jcgr3A206DZZXxmbGJHGWpdvLb5e9+RS3NiGCGQ6U yV7g== X-Forwarded-Encrypted: i=1; AJvYcCVvvJvTJdtk8A7DhAbuu1ZAhKoISc4NTbS/Xnkvh7kmEmUPD7xuuQz9eqmEsf/Z2vhmjAIPDTe4PXeTPFGdjIGnxuy095flibuL5syQ X-Gm-Message-State: AOJu0YwBxOPgYac1UJvUrvWP+EQep1vTyG9AX2u+j1J5BFEmr6M3L23Q JVyRtbrcgxy16qTN7TS2fQk8AIriYA8rRsL7+9Ycw1reRSsGP2p+ X-Received: by 2002:aa7:cfcd:0:b0:564:41c9:517f with SMTP id r13-20020aa7cfcd000000b0056441c9517fmr695490edy.26.1708204416624; Sat, 17 Feb 2024 13:13:36 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:36 -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 1/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:39 +0100 Message-Id: <20240217211246.28882-2-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: 1791182191942256755 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../vc04_services/bcm2835-camera/bcm2835-camera.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index e6e89784d..05e5e4ab1 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -350,12 +350,11 @@ static void buffer_cb(struct vchiq_mmal_instance *instance, if (is_capturing(dev)) { v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "Grab another frame"); - vchiq_mmal_port_parameter_set( - instance, - dev->capture.camera_port, - MMAL_PARAMETER_CAPTURE, - &dev->capture.frame_count, - sizeof(dev->capture.frame_count)); + vchiq_mmal_port_parameter_set(instance, + dev->capture.camera_port, + MMAL_PARAMETER_CAPTURE, + &dev->capture.frame_count, + sizeof(dev->capture.frame_count)); } if (vchiq_mmal_submit_buffer(instance, port, &buf->mmal)) From patchwork Sat Feb 17 21:12:40 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: 202710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509471dyc; Sat, 17 Feb 2024 13:14:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDVgnt7iaBrxxe2bxwCv4toS2XAsf55xBqy/AdEjp9GeqK2KFRLIjXJsMMT/lq+C8LtZ3C6TP/aM7XUJhtjriJF4Q31A== X-Google-Smtp-Source: AGHT+IGiJYGyQB5xFmkPUX2kyz6Cf7gjKAoErbcgT8PtvsAFiusofZlmC/6X9xA01N0E8QneMWj2 X-Received: by 2002:a17:902:ef43:b0:1db:92e1:2e4e with SMTP id e3-20020a170902ef4300b001db92e12e4emr9740177plx.30.1708204466230; Sat, 17 Feb 2024 13:14:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204466; cv=pass; d=google.com; s=arc-20160816; b=g3MJWocbW0f7w3Da0hADzS8avksS+kceqQ5goFIwwvF2l/r6N4olRm+2T094hIrVj6 RiV5mZapHhXxuR/CsmNoCYrhehBaTXdsAL+pS0u6k2IBWJ6smg+FufTb01oEC2f4M9PZ Q522kO8BZsif+EtTUSmXOComMyPMswsD6+KMa0bfmgVYeF/s78/kB+YRrWAyppVTVyVg qF1R0mQUlIXoVTh/M4CrwrpQYPWZlTkOkMvTdP08GdPnYRkar7mqG/NXahuCC0AXm9uv PLVTPiaXDR3eAvebZ9c4+Arrue1MxAQFCa2kr31+l0AgCkwRIjyq1O8+mYc5mkfwFCHi swKw== 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=8CRq8R2Pi0gMvJE/RQYPcDF05WRnk+6fZqPWux/HjP0=; fh=Bts0Zf0hnjzWl8cNRYDBNko6v90V5jai6xZkfKK8Hsw=; b=EiAFFKyzBqdqGm02Zaqtku8xFQsQfMhnD4Y/KSg+m1y4UeeSZfStb1icFM9j2N/HXY TwpFSZ8s2TQGvpiNGVprzYH6Tb0TLcil8xrjLlRm0OfcNYQiWnT4umuGTBNY3D7qIbjR HcXZcytqgBjdqUlpE56Wvi+1kC1OjTjDUqrVp565pm4HQpxXF+lQXpvryiBmy/NKlv72 bONTIqcD2BrFUxN48Y7lQAbRVDxpkWhFRyL7HjvfFKcSU56gZ0eXg+H8nBssdBjmzguG igeXbzOQo+iAQMH0RkqYuWqv/GBKYgdzsQI6A5hl96wH+PeLtUbqWgzHSAOn3V7nk+XH 5lzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=awGcIIQa; 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-70084-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70084-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 q5-20020a17090a304500b00298d21fd928si2047010pjl.173.2024.02.17.13.14.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:14:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70084-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=awGcIIQa; 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-70084-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70084-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 1306E2840B5 for ; Sat, 17 Feb 2024 21:14:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9A1780638; Sat, 17 Feb 2024 21:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="awGcIIQa" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 303E37E760 for ; Sat, 17 Feb 2024 21:13:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204420; cv=none; b=dVwD4ij4JXeAPqZrTagEi3zO4xMtpDq4mqMPzSEwU0cL46agu9V7zi4dW4myDglwtImzUDBjps7D9HTJUUnfMbgbO8MI3ggzMzLQUaHJOYrI4rAyLmfyfL9WXxamFfQOk3BrOv/H8Oadp9pOFqktBxVR8lU5Nw3X/6ep30qEGPQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204420; c=relaxed/simple; bh=AfmadviaZrb80S8i4Kp9Csah0gTIVUeuICCrJzeMHAQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Pg/gAQPhEbBo6yPtnDnW4VwQnlFvN8wK6nnhCKUa/aiFfp5JCzgLR9BggVFJXOCWUECU1ja/zpyUt4GYg8TY0Bwf6bFcid+UXQT06MZr2jc8JXG5/pB/VDdKoH0o3MQ4iO3zZ0/yITZ2WA285i0N8Z0v+3ro+00IXkD1pJPE4Eo= 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=awGcIIQa; arc=none smtp.client-ip=209.85.208.178 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-f178.google.com with SMTP id 38308e7fff4ca-2d0b4ea773eso40022191fa.0 for ; Sat, 17 Feb 2024 13:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204417; x=1708809217; 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=8CRq8R2Pi0gMvJE/RQYPcDF05WRnk+6fZqPWux/HjP0=; b=awGcIIQakUWgqP4XG8B09y2eWStCR54JKaq/FoFH/ciiCLt0V8+to6HUGMSW/dTcWm +OeHHy/kdNHdnuII1n5HIkQHsL4v04cA8qv7clZeb99noqRlJ0lx1pk8LxL39vliaLN/ /PcjUQdLo0nIo7EvmaIuTmdYs95QIvMc9y87kSBi0L8L3vYG7uuG+PK7TZs3q9c+szlI IXas7CS4w9Ifx//ow4Rzjg9krC8lZF7Nz6lNJFPWXtEeVBIjRXQbn7lgZ3Zyg/M0ddgz 9GS1NE1xi0ZSAIK1FI8TkndIQXdU0vCJWGtL/vMybTlgBkeMdIxlsCfP0zLhAibvqwEm IqCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204417; x=1708809217; 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=8CRq8R2Pi0gMvJE/RQYPcDF05WRnk+6fZqPWux/HjP0=; b=CNnrSCgEpLePQnd7u6mvDCth9zULocUbwHi1T0fmr5O6mQzgbs6wcvn8EwLcvi/td6 BdXxI9OWHykaWR6DEMfBXktfC++L/mU7Z7mkUd1Oe7cbdF95VdL/goX0Dx2SNP5U4whr dHox1CtPux8TzJdNfubPI/WN4av/YEMmRa0Gv9xBAGFFn1lUGfVBiy9vriJTpPvVcQSB V1Tc0rHfT4GMax7xtmCwkrC7IBtCYCNarwx3VFSPTEn/k9XzPmqUV1VxwqJU7/MTcQZF srUkmyQR9KKP/C9A9Epm5eh+vE7U6Sxugs4F6hSNsYr2j8Yw2yBHgwOJoBH9iIIDDOSn X2fw== X-Forwarded-Encrypted: i=1; AJvYcCU35P8nAedkK/0GbT0eLtZgAqFUz4NcQbrbhZPS+4pLtGi4ZcC4VuTwwvARi6N/ekcSpfhs2bedCWBjkuOp9JKZhyf0+8P3WTgjRiYp X-Gm-Message-State: AOJu0YxqyuwXTLtt7+23QraJ92GTOBVlYj9EN4t/03pxRwTAft8YFO/c Lak8vncPjem9O/kye452dDIe8AnmfbhrS8cWNzcfKrPr35C9/Es7 X-Received: by 2002:a05:651c:1a29:b0:2d2:912:916b with SMTP id by41-20020a05651c1a2900b002d20912916bmr6743449ljb.24.1708204417266; 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.36 (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 2/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:40 +0100 Message-Id: <20240217211246.28882-3-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: 1791182206736635881 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../vc04_services/bcm2835-camera/bcm2835-camera.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index 05e5e4ab1..1fa868163 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -405,12 +405,11 @@ static void buffer_cb(struct vchiq_mmal_instance *instance, is_capturing(dev)) { v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "Grab another frame as buffer has EOS"); - vchiq_mmal_port_parameter_set( - instance, - dev->capture.camera_port, - MMAL_PARAMETER_CAPTURE, - &dev->capture.frame_count, - sizeof(dev->capture.frame_count)); + vchiq_mmal_port_parameter_set(instance, + dev->capture.camera_port, + MMAL_PARAMETER_CAPTURE, + &dev->capture.frame_count, + sizeof(dev->capture.frame_count)); } } 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); From patchwork Sat Feb 17 21:12:42 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: 202712 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509648dyc; Sat, 17 Feb 2024 13:15:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWaXx1NwByX71Kvl7pIAf4ifxK6veFhsC3Fdw5I/co8i1q2ORIN6raTNLNRX5NgloK6MEsHUdO9LEjDpXlRlIzOiNkkvw== X-Google-Smtp-Source: AGHT+IFv3Mnx1+HwgnwxAzgGTDr8+ZNRrZZwa8tSgqO5vVrx6pr+LbDI4+8zJW1kxbkOqQVlNfRf X-Received: by 2002:a17:903:40c2:b0:1db:a81b:7bcf with SMTP id t2-20020a17090340c200b001dba81b7bcfmr5866340pld.38.1708204506763; Sat, 17 Feb 2024 13:15:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204506; cv=pass; d=google.com; s=arc-20160816; b=NrI5zG02BypayiNpOXpj66143roKcORmbpyuYo+2iJDfFZFTspR2mNKGYgC1oUE7Oz bfUEnOh1HmTjZkI80ppLaAyRZVyTLA7HhLYFc3PIHHZwW/VcJ2m/PdLef+Amxj746Q4Z DLsu0qorajizJHFsxXXAJODyIqRYkqm9Dh05G45c/omvr3z0CZMdQSQifDVVfegSnwfs m5Lmohgd8LnkXoubB6CMFUrDJHaK/4N+JPVJ6BYzb3NREj4D2HnctHzbO7DiZ7bH/f1J djLLcyfL++HvIdFAw5aj1QE7kBcrgeQ/eyLIiPVu8dagg0jsUkWVmY+naS8HUZbD0NGq 6NXA== 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=FoV+G7y2w1NQPRt2wlW97bAxMHa5rqpMfVRm3MsQC8k=; fh=JpRn/8dGOhegmT1MzzkI5htM4DoY52ohBYOImdZgj7Q=; b=rSRO0UCIpNiy0/5lXVXJ3z+6MChxeiTEN/lox+r1R9NzcIlcQB5Viya4Oj8C/VBHns prNX8VC3pJVzBHwVz8X3E92fsiiuMQIp4CO0Z4c5wE1oKH0sfp05NzTTNR4kk/sFvWjz fWo+BihPRbMD81xj+1HdcxHLMZkmzWEAy3EQAVaL3ZG1E0AyzgJIL7TXJB1MnS3LyMtE 9AeLU9OjlfmaSfCyj7F02do5Xor/Rz9xkfA6IkqSll2KE0rFQ9oTLCgw2LIV5AzJhMrz XGu/JfzYvIl8F1G9krzm3d+0Qj+efdGSkNdiPJBtQJjYksyR4aUy/5ZIbKSqLKdj8dB8 x2lA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jPMRh6sN; 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-70086-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70086-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o9-20020a170902d4c900b001d7204a84ccsi1936169plg.156.2024.02.17.13.15.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:15:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70086-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jPMRh6sN; 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-70086-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70086-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 99818283615 for ; Sat, 17 Feb 2024 21:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 391DB8120D; Sat, 17 Feb 2024 21:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jPMRh6sN" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 7470F7F7D8 for ; Sat, 17 Feb 2024 21:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204422; cv=none; b=C9rVUIyKDxgr+0YedKxU4Ri6NvXVwuDOz+WZ6hNtHuyh+6a1SoDGCDQT5lTdoKLb+1gCDDGPojN/u4b4X8UC3t/3QIdL3dF+tsjhSfGG47A6aiPJPtCTcdaRGWlkFVSxIveupyLgPedKhq+/0JnWdzrNP7p76PwO56XQ321KzxQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204422; c=relaxed/simple; bh=wVBHlEG71HiYpg+k8NXj4fmiRiTFWEkDOl1Zvw4CSdQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=npe+wgwVjLYsF7doc41mXoyErwufSH+ANbPXwWIeJszcvm1layAMp2OEwdFcRF2+Bz6TnqIEehDKjWwazP3D+G9ptffUwMhhyB3OOdg6Zd2sjIDZ74gt5MZAgY5Vn6eeIG1BOuU5oSN8F/ouno79aLX/03J2gRb5rBWsEbkjp1k= 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=jPMRh6sN; arc=none smtp.client-ip=209.85.208.45 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-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-563cb3ba9daso2817190a12.3 for ; Sat, 17 Feb 2024 13:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204419; x=1708809219; 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=FoV+G7y2w1NQPRt2wlW97bAxMHa5rqpMfVRm3MsQC8k=; b=jPMRh6sNlFsUc3dYsYZZXWhU3pKehppfkA4gFlzkwuPH1XGCiKCw9JvYggzVibY+Qg gYh7lojVRGM3jhKpimABd3AomT133jQTmKgp4dwg20KXU833zpby/3ZbhmGZ29m/izRE ibHntY8dyWGM90Y5usivNOO0RVWZ4N3UZUfahqSSVDA4TLWBWl2PMwQrxcdRIAexNYlT TYtSaFdJytcQsH73kF2s0vOuKNpq4js/Qi1RuMr3KAcpE0fbnWnA47za4mHyeDX5ucYY erQr8/uD8UB211XUwy+KM0QejnzjX9fgnPTrxNIfprbFhG8WOD4mgG/AHV4eoSIrHcLU j9sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204419; x=1708809219; 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=FoV+G7y2w1NQPRt2wlW97bAxMHa5rqpMfVRm3MsQC8k=; b=hyjb94D32IVVxQmmi6Vy/J1gNXge/Y1QQtcZK/e1vgUwTf1NGfwfavMZlBJ/OO9a7y +Ikl9f+VVNBC473plKVKgDP0gcn6/hXiWkFANv2dLF2Sbo1onaTnMcaKukdFV+r84Muv K+infWT21ngtfvYIAOKI4+GSTZq4AsLUwd+O/DO1es+DmSStjHM1uI8I06ZnR31w7aAy AljfSlrLzdSe7sRIF/zL5Uc/7nXZpgGYVIllHVHZVgx1WWy0QRfz6q0nhvBviNYVfg9T ZDgTEKj7UZVGjtTUHA1B1LwiGnp6Dh6JRptcNTdi8Bp1pUYap1PEM0x0YbcjkgN3sAUv kbiQ== X-Forwarded-Encrypted: i=1; AJvYcCVtWa3V9b34CqG1hcRRg3B5shZfwqZxwc3WRLqhIFgwv+LJIvWjTH56OfAI8einsg6ON9KqCyYA4IWNwXf9ERZj29WOMxAkl2inEGsz X-Gm-Message-State: AOJu0Yylia2RHZ2OldijhEnX5vNg8jqfXa3R6jbfuN5cDXIWQMWGk1IN /I7wuZS1UJ0MeiInEelLROq4EJbriZZxd+RD5P64oOY1D4m+zQ06 X-Received: by 2002:a05:6402:2d2:b0:564:3854:f466 with SMTP id b18-20020a05640202d200b005643854f466mr816727edx.34.1708204418543; Sat, 17 Feb 2024 13:13:38 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:38 -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 4/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:42 +0100 Message-Id: <20240217211246.28882-5-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: 1791182249057307732 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../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 dfa9e7670..e2d058732 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -465,11 +465,11 @@ static int disable_camera(struct bcm2835_mmal_dev *dev) "Failed disabling camera, ret %d\n", ret); return -EINVAL; } - vchiq_mmal_port_parameter_set( - dev->instance, - &dev->component[COMP_CAMERA]->control, - MMAL_PARAMETER_CAMERA_NUM, &i, - sizeof(i)); + vchiq_mmal_port_parameter_set(dev->instance, + &dev->component[COMP_CAMERA]->control, + MMAL_PARAMETER_CAMERA_NUM, + &i, + sizeof(i)); } v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "Camera refcount now %d\n", dev->camera_use_count); From patchwork Sat Feb 17 21:12:43 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: 202715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509825dyc; Sat, 17 Feb 2024 13:15:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVLxFEMOP5RvoQylOpiQEvSMaCfKs3pAx3UDCr6ck47bMpI6j80vi8U3hK5mSl9RSK21jNAoDmDsy7flw7WOnECvsRD1Q== X-Google-Smtp-Source: AGHT+IEV7AJumXiFZq95llfVtKAaOwkWQdEwh3nmzROZbPcYm/jb1E0qYmLlflgYjPS5cGMpGCVe X-Received: by 2002:a05:6870:b6a4:b0:21e:4a2a:f05e with SMTP id cy36-20020a056870b6a400b0021e4a2af05emr8152562oab.8.1708204537431; Sat, 17 Feb 2024 13:15:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204537; cv=pass; d=google.com; s=arc-20160816; b=QKK4/lxsGK11t9SzaT0Xfi+toFSV1g7kLZmjucyjZDuqtMbRkBTF5CTMUKppqd/3To 77gVbdpwr8x68qs4gzx//9lltrX2d3Q8dczGg/RGYAkB7svpg4G2etfhwBrVwHDAZ/+v J7zRKmXhTlBpIzPPgbkvkkT2FsGbAChErrvO6+UWfXcBhR6qJxwLFODhJBGa1ms60kmH Oy6OWnLxTLFTEYqD+3Kck4z3A81YcWwlvoj16TNuhnp5OBpHym8XCT/vbLxo92FsxFep tPku2MqEjIEvPWDDrJMPmfMkvckXUM20Mq4jhoOOr9JL7doB/ZMkO/A9T9tbm7aT8Ihi NxZQ== 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=sMro+oCLHPLwncyYRlafFQVVFeqU1GH/O+kRfL0UaO4=; fh=MZCPewB9Zk5CGkcYqpw0f9oqi8YZ8MWla1Kz6dqfoU0=; b=JOwSD3RB1KdDXmOQWjYXf8NBncy7mibjvWHKtvZJGs2jo+2jk4SPl2mdksh7R0ZWL6 1pZ1aBXoTWEOK9MO/mKfRCCm1Tw4csgeC3q3clwHwBgOoCMujeRMURgUouEg2YWefHoC lWwB0qXloFg+T9yWCiTEIo3WMbX0SIwGu/y9Wt4sSep3fUrsAzBh2NIkjX64Ks1deIq1 Wtv+vj51pIU6tdxHT1TUok8SgOBVcIPJ4SfHsM/zRXA04AuZAdgR6O5Yt9htS4cy8Ede rJOYlzrg7KjtSHH4nFMOdEEjfbfw97a1+1smcZjJHs0vfIQbprtrUneaqR2LM8FSodGq t3jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gHx1GETt; 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-70087-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70087-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lo21-20020a056a003d1500b006e04e291bf8si1993300pfb.77.2024.02.17.13.15.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:15:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70087-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gHx1GETt; 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-70087-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70087-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BA6BBB222EE for ; Sat, 17 Feb 2024 21:14:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E26081721; Sat, 17 Feb 2024 21:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gHx1GETt" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 CDD557F7F6 for ; Sat, 17 Feb 2024 21:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204422; cv=none; b=U0C+i+hFZOpm0CdgSjadK9gwncuInd0YYEiF+UJIE2jbnVk8G64evDTav7P2wPnHVM7DGdX8XgmX78VdFwwDqewlfXbpdLoo3mT71Ba2kgD63/n7eI7TgDyeBdtocWaKiLTr26S0IN2NvJVW294wcQLzEETr49u1McE0B6P/pao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204422; c=relaxed/simple; bh=I3tCiGlk5ny85vI8kqZUsRbjY/tEETYNUbs6XI91XYw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=u1s3VjPKXW9KjYOC9XhYpVleKbgtwZs0z2MhwqUQff2bqjb8OAdhN3QOOKFLtj2moPiQLrx+7cB8BRY1Wsrz79vxsmk5eKY2RxiFBPknyPIfkC6yQexPYZm6n1S0rdRjOmeOahN2UiAWLpZhfU1gqpt66YlKKglHwQl75LF2BHY= 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=gHx1GETt; arc=none smtp.client-ip=209.85.208.47 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-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-563cf3087cfso3015553a12.3 for ; Sat, 17 Feb 2024 13:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204419; x=1708809219; 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=sMro+oCLHPLwncyYRlafFQVVFeqU1GH/O+kRfL0UaO4=; b=gHx1GETtliz3/NPqjBkkC+Gv+3T/tDHRs3b4Ln4TxUYIwDJXgISUeI3+ksKgeehHtN 21p4FcpfEDLu4ZBQjYJW8fMCgTpeQYyi0zCmPo+9GK4iRodzUBU6hfuLXBowQ46XJJBM 5VLmFeRmuLxoaCLlSm+Q5gBKEuTC5I9RZI0FqE7rwW2TgyzFku7e3gHucvL45CE1iGhF xsjzhyyK52WIpgp0+pLquq7DZXHdwCNe4mBjAXzRNLlFV0K/aYeYUjTq/PcJQa8vKcdo Cb8j40bK1OqIr4ExZgF8JxVTPUitQtmNwWiQ3PIBi58wsTJbvtYIUSoo4bixUJtE/xMA dYRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204419; x=1708809219; 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=sMro+oCLHPLwncyYRlafFQVVFeqU1GH/O+kRfL0UaO4=; b=eQGoqMo2NDo4RZ6OaXx+4qxUQeGWFiBCQcUno9bu+ujHAuSgmJ+SvBlwMqYuZqfk0G pVrlykkgRYvUDVbOAoA9Noq/bgiug7Nfss3jq6gs40LlPsx5zAyflALAGUZXSxUarOjr BOqknKCPB7DLk+BZHwp5czRPFglJuuJyc30oN9+w9IlVTjQS1UAGE9upQl07BCPYIDEf jWwL7FjheFt9SADCkzGx9+KkUpV5yOb+OzU2QDU3G5uVbAbzsEkxIPrp7OGqPK54ic3X dnqwtJ1bcs02tFv2i2E7iwixK79N20hG0rZGeAyc8/ct8cFm8u8B1y/gJM4MJODsKmpy Nzxg== X-Forwarded-Encrypted: i=1; AJvYcCVtKAZzOa+nFvH+5044VOcFRTtZapXn1bYkYvb6Pwx7ldVHBnqhKPJElZ2S7droB2PTnEiX1oZ+9Y9/F81gb6p3WROAlNE/YhR4W9bs X-Gm-Message-State: AOJu0YxPNTxZsxFouChn4ZCh4RKIQE6nJhc64g8PCkeg3LDvB2yGSu1E WRvGJzwLsLSV0KD3kOqi0PKtJEvz++15NKdFfdCKERI/hBfL5Z48waJ7HtY6 X-Received: by 2002:a05:6402:b23:b0:561:347f:ec5e with SMTP id bo3-20020a0564020b2300b00561347fec5emr6143066edb.32.1708204419145; Sat, 17 Feb 2024 13:13:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:38 -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 5/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:43 +0100 Message-Id: <20240217211246.28882-6-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: 1791182280996688110 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index e2d058732..b9745bb80 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -783,9 +783,8 @@ static int vidioc_overlay(struct file *file, void *f, unsigned int on) ret = vchiq_mmal_port_connect_tunnel(dev->instance, src, NULL); if (ret >= 0) - ret = vchiq_mmal_component_disable( - dev->instance, - dev->component[COMP_PREVIEW]); + ret = vchiq_mmal_component_disable(dev->instance, + dev->component[COMP_PREVIEW]); disable_camera(dev); return ret; From patchwork Sat Feb 17 21:12:44 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: 202713 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509657dyc; Sat, 17 Feb 2024 13:15:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVSCgslRACke49N4VzMjjEPWcPRRunwude6Tcn6aIS9+//wTgleiE1S3gpjuYcJjpDQBh/ttFKgRxw/RgFvaGgMbI1IzA== X-Google-Smtp-Source: AGHT+IGOrH/stIfZngqAw52OOvjszvAvRNHU3pZNMOs9iVBmsqfYa2R1Oa6luvKrdiUBdrDXSBPq X-Received: by 2002:aa7:c90b:0:b0:561:d6b1:e25 with SMTP id b11-20020aa7c90b000000b00561d6b10e25mr6131196edt.14.1708204508221; Sat, 17 Feb 2024 13:15:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204508; cv=pass; d=google.com; s=arc-20160816; b=HOv+Jh1goWOxK2M9T8NuSzx4lQCEXeTGHWz4iMAWTc0Jlpkxc7iDQkl3jTBdlVPqN8 6Jl2/ilU5jmD8/tSnMXe6f9VkFpl7KIeJwe4D3dQfvOCxNYipLHqN2Cz6RzEczx91Wwi wSSNh6VP/6yBfKKzXhGukwgY5zgZZ3ZuEHDeoQbOeoQUv0ubvz8MoiaseqjohHYIl3gL 2aIzgUpsJXa/c6qjtYuChB90HS+RB5A4TTvIonhMP/cq6opDKstZB8OSVV/JK/FJBGyE WpFBnA1BUOaTi3eCN/pkFXwPzHXgTxoD9XZd8NpjIqYmYv764QtY+xpaEG2cT8zpb/6F Cq2A== 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=9J6l45754+YIV51YnWa0fLN4KO1F6tNb34S41wWnKVc=; fh=bZvz0Zoib12XELlJyE5wsOoYUwnMxo1abfAbvjsZrmw=; b=Rp1N54WIT2ZtYagBPlQE/UKmiYz5DjY+DTThxMSVWBMAtMISxGeFpQ0Goi8nJ89xyh bd6YmTBkwRmqcfbArHEpweImtV0TrWfzhAlz1jjHxKcT40zXd0LGD8N6MqBmU09eSoYP OfJSM1Ev3cfuyhecGSqy17WAsMO/q8JiFm68yuj5uJdPekgle9RN9ToXat61iQm8ef+5 kedAKxGeP7JuJ2TVOEP7IFnlojf+RdGXX88bLFNVAtc8uWn8Ssm/ijlNfKbDlxbv8ikn u4fNr1eOhYXLS0nQcy7bNhrtlEIMijEfm/TE2UwwPWA9srpJOX8v0IZpKwrRjTTuGZfN YdKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XRhJLieS; 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-70088-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70088-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 dy19-20020a05640231f300b00563eca6733esi1101305edb.143.2024.02.17.13.15.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:15:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70088-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=XRhJLieS; 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-70088-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70088-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 D24461F21F4F for ; Sat, 17 Feb 2024 21:15:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 343DB8173B; Sat, 17 Feb 2024 21:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XRhJLieS" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 AC7998003F for ; Sat, 17 Feb 2024 21:13:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204423; cv=none; b=UqjwhV518RgQx8z4qqSH5hIIGyVQYbSpN+PgeoPzbP2/oEnWG1YvsuQphlKE9pcmvQUg91PKblYzsxoHkFzh/hiI8H/rZOm2DVE7L3sSoqqqWclU2aHfp2aDbLP3AIBP/VBdH1FYQQS81kd6+07/Pl/XarcGlM3rQ3Rzj9U/K1E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204423; c=relaxed/simple; bh=oYnrT+8AlEwhuH8TSjjJJlm1Ziq5F47iM56Zc5FKX+E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Lodgz9zo0Envh1YliLRoTWuJ09KsWP24jn1pGhJHL9Su9Kq4cv7ly1AV5XjOxzyZBJltnQGBhVa15NBGi9b95aF81/Mqiw5eO0zlXAHST51+FA/0V6q9ZaWyjWQlMzFWelIYMWxyv8tI9JEGg1cSbJousF9UKLoppWsnEWJYZGM= 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=XRhJLieS; arc=none smtp.client-ip=209.85.208.182 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-f182.google.com with SMTP id 38308e7fff4ca-2d0aabed735so38225071fa.0 for ; Sat, 17 Feb 2024 13:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708204420; x=1708809220; 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=9J6l45754+YIV51YnWa0fLN4KO1F6tNb34S41wWnKVc=; b=XRhJLieScOmTH9YSZDp3+RCxhMb96X0egQYgnN9TIPmYEXZDLCSVQMcp2C0Wo2DwJA MS6ArX3Rk/9HzCP/m2q/63qTnUVJDH4xQGacBhscXtxOIB0hRkytFiwD5CAFMUoFQLMb 7o2CpHsvV03ZXa/1LneLtkZDHr0SjVe7OhxCATVJ6Z2rO4yqncrYokRTnq+cBWvSsZRb AFcBThqh/dbZAg6bMoNURZGh/9XxQvoYpo4KOv8m6y40lwH9+f+t5nS8b0jH5AEdgv8z 6jpe7UbJGeg3UaOEjdQ5+3DlTyqmwhHrtp6e0DRI5J7OYjOzVuze5ZREfm/UGJ65bAXj x85w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204420; x=1708809220; 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=9J6l45754+YIV51YnWa0fLN4KO1F6tNb34S41wWnKVc=; b=b5p7loF12THuAxfwagwzhJrj7AQVaA9GGy5tKqnlr55GYlspjZFRmiQcIDd7vsfAfN 9GaRjr9C0qkkCIGJDXUXutHSMcFRvVlojnlj6WJy7/JV7SD6cUdJc5ITsMJZ1+ZuHVhY 6vWY/nTHv2YU7n+XSOLJGtNDNk64fNvwqMJ3N4sV6eW9ELZ8WUcgDNsW7miW4UYpwPN0 lrRqZD9M7e2egk/2wj7EOuEXIIwt8kDcpSDh3kPIgpemzc2qUDJ4Yxh2Rf6QrhWVfLo0 wkF8LkN1ORD4el/rDlpT/lEONNLHGFttpQpUYMEBuGGAbjwAUyjvDUvQ2YVqQwOwdTaF I3tQ== X-Forwarded-Encrypted: i=1; AJvYcCVRAkOzmgQZGDBwDxdz4NUc0o6MvYqf9xq5khNa1KsvUSX9XQtLkdmuEduhrbwbkmSK+jhB6uAzygomveYt1CvzbPfvGKFuOElAgVb6 X-Gm-Message-State: AOJu0YwuQI/OKx6B9ybmXEw+p/7sJsv6uChFlulH2zu6lBZQqCepS8AF VLF2rqC/a5kpOUoWkmc/ameiYqre454eqm9c3NjsaqvQp0OP6cF6 X-Received: by 2002:a05:651c:10a9:b0:2d2:317a:4e48 with SMTP id k9-20020a05651c10a900b002d2317a4e48mr697969ljn.28.1708204419852; Sat, 17 Feb 2024 13:13:39 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:13:39 -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 6/8] Staging: vc04_services: bcm2835-camera: fix blank line style check Date: Sat, 17 Feb 2024 22:12:44 +0100 Message-Id: <20240217211246.28882-7-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: 1791182250413864386 X-GMAIL-MSGID: 1791182250413864386 Remove blank line to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index b9745bb80..a25a361c8 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -1002,7 +1002,6 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, return 0; } - static int mmal_setup_video_component(struct bcm2835_mmal_dev *dev, struct v4l2_format *f) { From patchwork Sat Feb 17 21:12:45 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: 202717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp509899dyc; Sat, 17 Feb 2024 13:15:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLLcH+K3a6WazVTzAHrmbcdpIfZL1jUbK10yC+Q0AF8lLqGix/bQfU1sqvJZ1nFiIP6rUTfv0ft3+X+HLSwZAB4K1KPg== X-Google-Smtp-Source: AGHT+IFtXkyVzcEDNtYffYIT+mmNlaESrbWIzs1Qf/MLrELtfNfPQV+RawPkBwcSLEvb5GTC85SX X-Received: by 2002:a17:902:f54a:b0:1da:2216:f227 with SMTP id h10-20020a170902f54a00b001da2216f227mr10845728plf.25.1708204554228; Sat, 17 Feb 2024 13:15:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708204554; cv=pass; d=google.com; s=arc-20160816; b=N9mke9M5aYUuk1VSG+hWhwMevZfXPc6yKUhnJXshE41UqEFBP5GProe3di43YiN7Tm et5U3T/EEeN8rPA5hrXr8MgVoHsh7Iod/haZsELIe6Q4FUlqrc/28DCJ1kjRNWJ2xFBu KPR9Q9phVe+agsokd6aZbOHfGlYGpdgjxqzFT+MY4xB2/OfNCBseSxkogLzOCJH1l6+o 5mcd25n9aGTKajqjBxNKp7i7q5lNyq/5IlSYuynE7GNUkHO4M/sIWOcfMENXWoU/XJDZ ORFAkMinK7ty7t1Ki4ZwxYZASxzXO5LqOTqA+A952wUrv/5/tTIWcE9MW5LCaSwSfFFp VvJA== 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=gwzE+HW50uBtxpNueeebTnFB3RH1F9CMaB4/QKSCdA4=; fh=DfSSfoLmLaVV0DRBDBa5XFposRXjA9hmXV9z65unZxg=; b=fAF5bf1Qqo5oQJq5URoK6srQbjJnHcRxrrwM1XWWkrixCfgwSKTdvvBDicwLPHHw0B 2BdHb+dcPhNCwfF5Qxln5QudPBkKY9RPjuUV3ppTrxy8uPBhE9rB9BdfqqhGCxH10w3y iwtqoMsy5e5Loqu9312nwCCnyTF3mEsVpwAJ9x5b3/IHHQKNUSv/TWIm0jkNzH9M2Gjt 2OlsRocq1T4Ti0KNF9zlNvww8njLlLWwprKoJHK+/jkYJiMOzz2/nLCZ3szLejJd7c6K y2sMMOldFaeqL5xaheBOaj5xXadmfzLhNgBdg9iPH61gv52R3AqVrmvs4bzs4y3mYIHv /Ieg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CDt3ZHhJ; 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-70089-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70089-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t14-20020a17090340ce00b001dbde62e1dasi386898pld.11.2024.02.17.13.15.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 13:15:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70089-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CDt3ZHhJ; 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-70089-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70089-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4DD15B215A1 for ; Sat, 17 Feb 2024 21:15:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF7E28174F; Sat, 17 Feb 2024 21:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CDt3ZHhJ" 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 46E6780056 for ; Sat, 17 Feb 2024 21:13:42 +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=1708204424; cv=none; b=YiCBESbXWwXNQKWcNUO7LN98ARMs6WhxyP/IHOFImnz68kGL0G+9rmvXWRP7UqZ9vaZHxOO34gkW4WEf118EmAUgt5zRW4Iv1CWaGxVVAR2duFG5bNRj1ZjSKKwA5qBx7eu0q9lzgJ5KNq1u+WJvxVaPQwHNj3vF/CLscgvTNUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708204424; c=relaxed/simple; bh=Lqe/eh4edoLNExmGQW5FnAVKYcgYlc53IcedPkXMnAM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TUzna5kfWfD4K6rF5xYNFVjKXFdJ/vjvAvSkv9QDhY8Dpmi29DLa5rIsjCNQKMEWprXi3FqABhsUC0xZY2IItuzszFhyGC9+mzMFtc+SB9eo25Mx9Khu+WEweizbYPBiaQzwGH5l4w0BQi00G6E1X8EpHkG1qwu2FzELFtsPQjc= 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=CDt3ZHhJ; 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-2d204e102a9so39848281fa.0 for ; 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=1708204420; x=1708809220; 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=gwzE+HW50uBtxpNueeebTnFB3RH1F9CMaB4/QKSCdA4=; b=CDt3ZHhJGU274gVC6+02QEXilZVvl0HuePBhTHBVmRMkiuaNflQeYDsV55KY0m/LEv Z3ETjbWzQmR+THQyS9hn8SJT8lDOP8YyJ8eqzfA20FKUPwYBxZtHWdKizD+2jingp7HQ KWkInHeT/0+IZDWTRw5JYCwF2gr6D11PNdz5eMx08Dbdvpoj77cWYMdXkcBE0ds1ZMHy xMV3D+SGIO4TiwHSVybs0RaXPJW33zjqIXlFQIIywolN7g+HpBcdDb+HWsoaaIj0L3Eh Xy5qOqOyVYQxEcDW2g7/MlmjlG0dgiN+OkiKmNjuzI4v8je9uFZv5TOGqSuEvtUOlTI4 eBzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708204420; x=1708809220; 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=gwzE+HW50uBtxpNueeebTnFB3RH1F9CMaB4/QKSCdA4=; b=YTxrWo0ZnMm2YEPxfUW9TBWM3x+3ELmISuVcGCy0YtHEPYbcw3Ts2q/pEqs37SpfMC +ib7HKnzS8bJ/Su1MmjqN/q3dkcTSYlwL5Gz87Zp1mlCMvE7ZX2sxrpInzdAuyyP8BWS twtUoDevwyH4DpbcbKwNGFSiUneZSIwtZbl3s0o/GwG+vbr0BygvqIK/8OmPhDtCPTEY aKeCDn5/WuUTC4/toFK7NDSmVM6adJf2u9BYsEE+3kZ9WQR0S3d/v2MxXR7rfmnH69XJ 8V9y0GLWJ/cALgIycKrseEU1EE5aO5w3pQ8InGwwQiIHouPDppPLPY/yeea9xN6XbXr3 Fcog== X-Forwarded-Encrypted: i=1; AJvYcCW+c5j9HE0sXBjn8BYJtJY7spVmipnz2+g6SU4t3GwSWMKBVORyzoNTZ/HkXARkUfJalK3u9PCtHcUbCj3GrMphNdmEwINK8n42ypWp X-Gm-Message-State: AOJu0YwbF+SWXXglSW5+cBaRwCJFBXnmUfQpSrS1K6qkAuzIZ6z8Gig6 pmCIhgNvRrA1TCKZ3UzkrKoFsxcTxB/z5ZDq8jGnc+jW7QZlRkhZ X-Received: by 2002:a2e:7206:0:b0:2d2:299d:af0a with SMTP id n6-20020a2e7206000000b002d2299daf0amr1617273ljc.14.1708204420495; Sat, 17 Feb 2024 13:13:40 -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.39 (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" 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 7/8] Staging: vc04_services: bcm2835-camera: fix brace code style check Date: Sat, 17 Feb 2024 22:12:45 +0100 Message-Id: <20240217211246.28882-8-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: 1791182298635431666 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index a25a361c8..9cd79850b 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -1037,8 +1037,8 @@ static int mmal_setup_video_component(struct bcm2835_mmal_dev *dev, if (overlay_enabled) { ret = vchiq_mmal_port_connect_tunnel(dev->instance, - preview_port, - &dev->component[COMP_PREVIEW]->input[0]); + preview_port, + &dev->component[COMP_PREVIEW]->input[0]); if (ret) return ret; From patchwork Sat Feb 17 21:12:46 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: 202714 Return-Path: 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 (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 ; 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 ; 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 ; 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" 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791182191942256755 X-GMAIL-MSGID: 1791182273028172853 Reformat function parameters to fix checkpatch check: Increase readability and consistency Signed-off-by: Moritz C. Weber --- .../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,