From patchwork Thu Oct 10 10:22:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13829934 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 BCD5ECF11CD for ; Thu, 10 Oct 2024 10:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=l77SlD63YBHBkQHEtBR8+bVw8ZZwyFzVU8TRaftPh0A=; b=0jjHB+3Yx9UXcehL4i4cpLvOYx UDmDgnG9wBT+VqHtQ6FpAnO4E11DUGrsbpCzM9z9rsaq3ZHyXNOIsasi4NdgHfNVpEUQgtQdFq3/o bULh4DK+S/L4F9BEuMz7uStVTsv/wgREWhBV+nBCRy+vXf4llYdkKzzzQHhF6bRbHTr+ha9b5qg71 DXRj9cns2UfiRA5Fw/xXq4K8nfnkhj11tvPsktetyl1v0Jnrb5qPEo42MGmhj92XDrviCr8+pERPW GIAQMZCiwfrbapDB87nAhOTFeo4W8dW8hHOQCo8nhJVVh70SBX2L41EkLr61nRhTdz22zlbaqVUeQ CqNY+RWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syqf4-0000000CRSz-46dC; Thu, 10 Oct 2024 10:44:50 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syqKL-0000000CNMl-3fKL; Thu, 10 Oct 2024 10:23:27 +0000 Received: from umang.jain (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 407111371; Thu, 10 Oct 2024 12:21:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1728555707; bh=yR4DKd0m1IBq6/oDJ5UmIzyKp+RttK8hpY774cjmi2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MI+MInJ64sULz7zmENLmcLISqQuqvAyuoAYIYPKFz6m4VgZLq1ZL8y1pk8XvlPFZK QYgDEwM3HpvrvfxevdpTTbUEtQ5X4YiqmyuXJXOZR0HbqE+DAQduhvY8jEVy5GfJ6n DeilAqrw7eFStC3KummuSnYTaguV5t5idbkTeJek= From: Umang Jain To: Greg Kroah-Hartman , Broadcom internal kernel review list Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Kieran Bingham , Dan Carpenter , Stefan Wahren , Laurent Pinchart , Umang Jain Subject: [PATCH 4/5] staging: vchiq_core: Macros indentation fix Date: Thu, 10 Oct 2024 15:52:48 +0530 Message-ID: <20241010102250.236545-5-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241010102250.236545-1-umang.jain@ideasonboard.com> References: <20241010102250.236545-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241010_032326_086564_0935227E X-CRM114-Status: UNSURE ( 6.53 ) 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 Make sure that MAKE_* macros fit within 80 columns instead of spanning in a single line. Signed-off-by: Umang Jain --- .../interface/vchiq_arm/vchiq_core.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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 8be2dcf3658c..d03b67f9cdb7 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -50,18 +50,19 @@ ((unsigned short)(msgid) & 0xfff) #define MAKE_CONNECT (VCHIQ_MSG_CONNECT << TYPE_SHIFT) -#define MAKE_OPEN(srcport) \ - ((VCHIQ_MSG_OPEN << TYPE_SHIFT) | ((srcport) << 12)) -#define MAKE_OPENACK(srcport, dstport) \ - ((VCHIQ_MSG_OPENACK << TYPE_SHIFT) | ((srcport) << 12) | ((dstport) << 0)) -#define MAKE_CLOSE(srcport, dstport) \ - ((VCHIQ_MSG_CLOSE << TYPE_SHIFT) | ((srcport) << 12) | ((dstport) << 0)) -#define MAKE_DATA(srcport, dstport) \ - ((VCHIQ_MSG_DATA << TYPE_SHIFT) | ((srcport) << 12) | ((dstport) << 0)) +#define MAKE_OPEN(srcport) ((VCHIQ_MSG_OPEN << TYPE_SHIFT) | \ + ((srcport) << 12)) +#define MAKE_OPENACK(srcport, dstport) ((VCHIQ_MSG_OPENACK << TYPE_SHIFT) | \ + ((srcport) << 12) | ((dstport) << 0)) +#define MAKE_CLOSE(srcport, dstport) ((VCHIQ_MSG_CLOSE << TYPE_SHIFT) | \ + ((srcport) << 12) | ((dstport) << 0)) +#define MAKE_DATA(srcport, dstport) ((VCHIQ_MSG_DATA << TYPE_SHIFT) | \ + ((srcport) << 12) | ((dstport) << 0)) #define MAKE_PAUSE (VCHIQ_MSG_PAUSE << TYPE_SHIFT) #define MAKE_RESUME (VCHIQ_MSG_RESUME << TYPE_SHIFT) #define MAKE_REMOTE_USE (VCHIQ_MSG_REMOTE_USE << TYPE_SHIFT) -#define MAKE_REMOTE_USE_ACTIVE (VCHIQ_MSG_REMOTE_USE_ACTIVE << TYPE_SHIFT) +#define MAKE_REMOTE_USE_ACTIVE (VCHIQ_MSG_REMOTE_USE_ACTIVE \ + << TYPE_SHIFT) #define PAGELIST_WRITE 0 #define PAGELIST_READ 1