From patchwork Thu Apr 25 16:58:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13643569 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71D55C4345F for ; Thu, 25 Apr 2024 16:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y9eTliXBxaPBP0htSnAcDKf5pgWwSefDr6eS3sYhKpQ=; b=2Qg+rFukkwuBX9 fRn79wjN8FhYpWDfJEwTjv4APLj4myNtFDkcBDANommNnXGpZxwstyjqe9wlakpXhlUSD/78iAIOZ 5uU3ydvE8VUlZWellf70584zkTRq+HYZYC6/KlUAPGZbb15yVQjuQVqeZhNw5kOYoo8ZqrrZ2iFLY /DdkPeK4M2zvWZA5I4Xc7LLQa4kmqPsrdDVjEWfEqAaBS/XpRcP88jtjW94FCcjeY5L1mQod2MwNo FTRyR1hnagVRaYIfFSmw0ID8rqL8UuPzaVjUG4q/2ezeh7myEBJ8K6mp6WcHfIsCXaZ6AB02P3eIo YXAIJuLeMdRZXhnIoV+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s02Rk-00000009Tyj-2VdM; Thu, 25 Apr 2024 16:59:44 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s02RO-00000009ToL-0QH5 for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 16:59:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1714064356; x=1714669156; i=wahrenst@gmx.net; bh=CNQeXx88+PWs4m7o5y0Jq0wLFvN1UeH9xseza45YiAE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=coA+a2cr1eeN/EKaUndygwblIprNpeT7DtXjuWdHbGJyVKiEwQnFNkQKJtkbg538 CuM39PRB67+9hL7cBPaZf2I+F4LApF8JH9bjKbnIheBD1wCkvyN8AszcPlsVXCfsd gp4jE0yvArpFdLyu4jqaGXOb8Qla54bFA1/XOCh9qJZ8h3IQW1+KeXFLXTCN/PI7l EFQ0D7MafY7yopLTfA+nNc01yF3i2XWxJ2H0MSmzY5Dv78h1Ck8emJXu2HlYQj9W2 v5rU0e1IaD3NLRxxTvLUz3gGxxDqVJWISXTFCLFVkfwoEQv742eg6m2tfFO94CC9Q +RTi98l5bZjwupqAoA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MMobO-1sIoHH3A0q-00IZ7C; Thu, 25 Apr 2024 18:59:15 +0200 From: Stefan Wahren To: Greg Kroah-Hartman , Florian Fainelli Cc: Umang Jain , Laurent Pinchart , linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH V2 5/5] staging: vchiq_core: Add missing blank lines Date: Thu, 25 Apr 2024 18:58:52 +0200 Message-Id: <20240425165852.6681-6-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240425165852.6681-1-wahrenst@gmx.net> References: <20240425165852.6681-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:5ZmdyL0d0n11brCiTDARa/Sl7DKBkm+kiTclKZk6DhVNQzTPHsP 9WDM42//cGxaQreIHeUX2Ek0Y2tAkHwqU3uOeQgz2fKfRbAgeFDXvqkOL5/6aLzr1kSTbQa U8klil03sFNREkm1QqLOljrp/b3c9iY/cXb5PPafHb7tAgKuE5c/1i/i0D7mby9nCxhRHNB Ke/g89AMLNrApdWCkBqbg== UI-OutboundReport: notjunk:1;M01:P0:BdrE43XugC8=;gsKDqjA48TcgVEhomlzSkZfp/Xk Oq3uf7UZ3G17GWDA4cO9+B32F/cT5s/v1NSXkPngp9dBZfhNFAd4yaDbuYuSilfp4b1/zcGzZ O8Gy/GAbTNkhzzV9OPP6tsAcxv/h8RdRg5Y+a05KJbBfxd9wnNN6vd/HgELWRuH84SyzCFEn+ 0izpy4ECxGLzRWjU0dWMsG5B7MnkaukzfqHjRcHGb+zqzTN1c9Rs/esRMHfbLSZ3RSkIv/TgU i00xWn7Ch9rzPJRHznz6lOy4SzOXClYsxGYXWJqqcbuC0KczajZDgyoQAFFrq7TCNt4Qzhsig SOfh0segilTio4u3VPSKYifu6ieBj1DeNZkILGtweHxhxwKdbHruD9Gm+t8Jo4eO2mHz9R5yk q5SN3+i0B4QBc0nsQzygDlLtufqzMIyrWLfeJk4EV2DVjUevRMRru24+pT+t3MRgkgNiszHY9 5fsZnZROTiPt9moAGOaooNOgDkT6Vn+0FMpLtAoOJB6GO2CEQVD5QRjwpXy/gmUCtba5/bKpn 5ImiXuC4Rr6ky4tun0nBKGOxvFAnEiCI/+7MQeXNc3SBfjB7KS28adA/Zo2cvBdOBe5wAJb59 O+QyLU66CvdVGOQBIW8RswKz4olx1erQGkQ1B+gQrmkq400iGfp2oRyINUeewIdwgKUxgU6O1 vCKFw+Elh8H/T2HQ9qehIdrvc7b2uUTyicKQ2pqbLRlmFOrvaiilydsig3f0puMhRo6MAjTz3 uHfCL09wS8oZs4vQgMbdr6/Eu5dqKVOqjy67ln6dG+MdMd/c0A0gbIwy5cWCui/euXolGUtTN aUCqJYue8vlzmXxNMGL2vZgx8hdC6+SUt0TVzupCxI7po= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_095922_485281_12429C47 X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org checkpatch.pl noticed about missing blank line after 2 declarations. So add them for better readability. Signed-off-by: Stefan Wahren Reviewed-by: Umang Jain --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.34.1 diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index ca32902afe06..df3af821f218 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -227,6 +227,7 @@ struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigne return rcu_dereference(instance->state->services[idx]); } + struct vchiq_service * find_service_by_handle(struct vchiq_instance *instance, unsigned int handle) { @@ -2176,6 +2177,7 @@ vchiq_init_state(struct vchiq_state *state, struct vchiq_slot_zero *slot_zero, s for (i = 0; i < VCHIQ_MAX_SERVICES; i++) { struct vchiq_service_quota *quota = &state->service_quotas[i]; + init_completion("a->quota_event); }