From patchwork Sun Sep 19 21:59:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12504467 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94965C433EF for ; Sun, 19 Sep 2021 22:09:24 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 59FBB60F9C for ; Sun, 19 Sep 2021 22:09:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 59FBB60F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=hXjY/L1/Zb408dYa22jP719pOnkzGFoW1WK3tycFQlM=; b=tq98nYR5HJd2Li 57k0Aco5HFG1wsahXP1MRbiYmW7fCydbgmHTDP/jB+wl3kh/gf9ooZOV5jzHTJPh7EPUMXe/LSBPY I978/2lfmrKXt3HJ8PaMCUOusb0sDRkIJkAUTlsxl2/0xn0dDyvpHi863WNOnz/J4kYuH0hIUkaIJ p62u5ABrGFylb7/m/lV0MNR6FhcU6Vmj6MfX1lXnSlG7BpCmWkcK7sbrNJEVx7/gRvxZuoTZ9Lzce iWWbrSjxN2IBu9X+OiT+boi61AeGmtQHTedckxqJUgaib9MZbzffoW/ihRYza0HXBe265LG0A/KkC zM4CjasV/f3rVkQ9P1fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mS4xk-000ITj-AD; Sun, 19 Sep 2021 22:07:04 +0000 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mS4xD-000IL2-Tq; Sun, 19 Sep 2021 22:06:33 +0000 Received: by mail-qv1-xf33.google.com with SMTP id z12so10014995qvx.5; Sun, 19 Sep 2021 15:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mKpje/Y92jR84VIMNNbzSjTlUCixt6FDWJQ+8cv/w1Q=; b=MawK2iJeLSjzey9cfpgZFpypwtawe4w+nousG5KvG26e+uw+bUs1IzP1D73/yt1L99 0zshOirhW47/7sYHwjLDtg/NtQQ4hatop0WAY++cbPpffjV/qzK+H295wZHG60frStqs Fb9qFyfz3SfkpCqIvnEL6+QcO79A9BXWdP13kQFilelU4wZQ4v68UwI7EQ4YIPJi4omY 3DvlyBS86P1YCKHi1GfbMTBPibVU+AoRdwRn/0eLTGv9QLl2fxLPafqMsXznMaP+A0ei pqITHkBhsKMI6gnlTxgimQwLoPVJUsad8b4XCh1eOoPQup+Pu3PFLp6joOVl4cu7+N8D FVGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mKpje/Y92jR84VIMNNbzSjTlUCixt6FDWJQ+8cv/w1Q=; b=RqE39HJCG2xJ4b3XCix4aHyc0KN42DZPO/XWfZ49k8WH9zyXQtqeIWDSL9lMu0Lipl cLEOHrc754FsDp1szcdlh4JJ35WZLI6OIPVZxNw096zFRUASfS73P1Zje6VuP5Aa8qwb gxpEGUZrmvLwWStsITJ8A/tUfLx4CPtR85qCHIzp1S1AlKWUlV6kWNddrL84mJwYeHfq ngNi6OqXdkZ9oO3rIB+R/NQa7BALrkp3OOiz3M7lp2TwcHQdpSEEEocVea8PpNvy0Mfp 2C0CW9+0Zcmp/BAlLP8SxgF7EG0aeBt7jUwzofb6z40WXhz7Puf3uquENlAq65oWh3Jd UFAA== X-Gm-Message-State: AOAM533RdUle3yGRdwJLaincQ9yLa9KmNlkaB7zrwDj051bM2z1M9JB2 jxfD49ue5QJLFC3clGlJIGY= X-Google-Smtp-Source: ABdhPJzbcP5EilKkmcub8FPrk1SASVA5fhYZpcc0aOEdoFaCI6DKYOs5D3IyNUN833zLkq3fd1xSzg== X-Received: by 2002:a05:6214:1593:: with SMTP id m19mr22329365qvw.36.1632089190983; Sun, 19 Sep 2021 15:06:30 -0700 (PDT) Received: from localhost.localdomain ([191.84.236.195]) by smtp.gmail.com with ESMTPSA id t23sm246313qkj.31.2021.09.19.15.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 15:06:30 -0700 (PDT) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, stefan.wahren@i2se.com, arnd@arndb.de, dan.carpenter@oracle.com, ojaswin98@gmail.com, amarjargal16@gmail.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH v2 3/7] staging: vchiq_arm: clarify multiplication expressions Date: Sun, 19 Sep 2021 18:59:10 -0300 Message-Id: <20210919215914.539805-4-gascoar@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210919215914.539805-1-gascoar@gmail.com> References: <20210919215914.539805-1-gascoar@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210919_150632_006954_74D5B103 X-CRM114-Status: GOOD ( 10.75 ) 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 Add spaces around '*' in multiplication expressions to enhance readability. Reported by checkpatch.pl Signed-off-by: Gaston Gonzalez --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c index e8b84b2b1ac3..9464a4777ff6 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c @@ -466,8 +466,8 @@ int vchiq_platform_init(struct platform_device *pdev, struct vchiq_state *state) g_free_fragments = g_fragments_base; for (i = 0; i < (MAX_FRAGMENTS - 1); i++) { - *(char **)&g_fragments_base[i*g_fragments_size] = - &g_fragments_base[(i + 1)*g_fragments_size]; + *(char **)&g_fragments_base[i * g_fragments_size] = + &g_fragments_base[(i + 1) * g_fragments_size]; } *(char **)&g_fragments_base[i * g_fragments_size] = NULL; sema_init(&g_free_fragments_sema, MAX_FRAGMENTS);