From patchwork Sat Apr 20 11:53:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13637126 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 3350BC4345F for ; Sat, 20 Apr 2024 11:54:38 +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=ov1Qz9HcGmlAfoQyg3j7KB7aHbcii5+UkTAfBueI1LU=; b=1eoPgYsNqb5rTX 8cP2yMCxfPKgUzS6J6O34u/rsz4ARWMYL0zbR5XU07SnygbzvNYZv8nybMdqDJ25N2Qye8cXg1bSd qefmeqKWs+g7T5l3mOKps3fxZKBruIBOZkFauIb8Wm6VEqmIu+U5wdZ4vdU0+JV2mtoccQj4ENV5v fvIy3PRVsPA5NZkqVM4JI26R23x5hIJJ2YtvREd3CiKWzaXuOK+kCkKIutk8y5y7iXZ3g2dWeondN i7n31b1FxP4c6HGWy7+bwKOK6YLnhs+XSsgpifLHeJNUn++jWrj8+dnlj2jR5Ufv1z2f4OmVBM9Z1 nj3j5BUC3Gx+90X8y9qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ry9IR-00000008Q8L-2UlX; Sat, 20 Apr 2024 11:54:19 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ry9IN-00000008Q6M-2TF0 for linux-arm-kernel@lists.infradead.org; Sat, 20 Apr 2024 11:54:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1713614049; x=1714218849; i=wahrenst@gmx.net; bh=XBz6vLDOKmPiyoGHSaBiqOwfqoSTVC8G8FHmgrlgS+s=; 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=sOlUYjhlB1Qo2orodh1n2/0CKwbhRN1gECha9OLRvsqGsfxKugsBTbEsgsLmymrq oySD17jd5oIQT0q8ZzTo4g9+GwobDB6jNADRstjecQJl/7rIDNqEVWYKoKAQnIURB 5HjvClTKw1kSxC1/Oka7gKkgDi2geiJJjIYiQ8L8+Z+w6yKgoGo29JlrufwiZXpSO RHZnS0/0pqlpwq7wK8AJPA3Mtk5kfwTe3768xTlzx1gIZI8Kp0f6Y6AtUQpZr641q fA7yrB1miI7RzY11zwero4JD18WCsXvb8lTZagRKWJ3AibiSOHrKySWxYtFOUNhH4 iUbHcDZuHDqij9+cfw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6siz-1smvMc2wbn-018MGy; Sat, 20 Apr 2024 13:54:09 +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 4/4] staging: vchiq_core: Add missing blank lines Date: Sat, 20 Apr 2024 13:53:51 +0200 Message-Id: <20240420115351.27713-5-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240420115351.27713-1-wahrenst@gmx.net> References: <20240420115351.27713-1-wahrenst@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:UciPNtNmNbb/tnBiK7doL+w+C3Illm4dS3sRX1UkFtoouuJtCNp KFRX+2L50PpIGA5QtaxvBrR7uw7hVT6vriyarXn4wDRV1NBT0ZgtIkEPlACJvxxDBotrnAF 1gwAx+DrgNEO2gzJ+XWujLAulckWjQ4GOWs3hDZT+/s2rfVLNnpeAr2FTgHMti8VQU8wh7b 4h5UFLFfqjArJ5cLE3Org== UI-OutboundReport: notjunk:1;M01:P0:jbuVK7QtgZU=;vRu3sJclAy02O9V9zAaz748T8zY HphDShhpRk6s5+jLpCETYrMIQEVvhJ6vt9MaBCr0YUOP/TQzfemHS+c+TPL/vaOWx0Wzx9Kye 6Vshb4YWODldECMdmGkqLENLoB0yXB2uPXh1m0zaNacZsM9cZ4/9/FtcQnpF0QSWhb3MOUjAj 6RgRX+caSEdCGmNPYVxg0QZo+zq/RUcDgGfh0aFwLWJxb8EMW3xwgx+IIk1NypgqomfYcFilw ZfBkGuOQbv5hEI0OdArEd8Of3loI4cWRnlni+2RwaNYTFqFD5nZIOARwlS5aluuk51MbRoiAA 3XxVf1re3hbr6EMXT3awPeJMVNYuSGOazs8eSfINzp40jIBMvb4KfWDySFsXRZGN2iBH0mGlX wYIvpuwpfkC/IRFn7TKVITI5G0w5W3+0W99JSq6/1rniiRj2lr0LI0OgEw2JQiOf0MvKasnhc cN9WU76EeJLTU5VDoy5yLyXviU/E0WS5dKMNzuFDXbVz3dru+IeLpwoCKXND+F/ZIEmlvfuly U/0ajkVKZX1gY0vkfflSjPHmOdr1xZYOQ2rhJlUbr4yeilSkLXLbT2zBdKF514TstjJnfeb2N b7qq2YrMyNLA8ha5PiwO5RFs6QQdEZ1YDrlVnZZTfSlOwgTy7ENZqhanrrqeKKqoA4SroX6LT /0fODogBL8GDLOLP+GTweC7yAEloKIhfja/G2qpl6S7jnGCX59oZgYI3Sc9H+UtuzXAPvSvdr k18SikKIZ7hdUDheYUboX9lEzocIYCU002VnkbZD6ivk+LRhsI8vO5yBeKm4C7yix+JGLLscD z5mdyi2+xgYAtHl8cYTu65f26II7Yc/U9WI1HFOubXXhs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240420_045415_957956_D6ABBBAB X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. 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); }