From patchwork Tue Sep 14 21:35:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12494923 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=-8.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_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 B5F9BC433F5 for ; Tue, 14 Sep 2021 21:39:55 +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 88D8260E8B for ; Tue, 14 Sep 2021 21:39:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 88D8260E8B 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=UOaoyziVK274zb4DbBz96YVY8QnmsPiyKrAHqZfOiFs=; b=dmdyVdnSFCV4j7 gBsapsVC0a59C6eZyofTailNq9jjYK/U+CmFlYkvGIoSZGVOCu2Of3ABFI5occfQ2JQHFrM7+dvUJ Mbpt3wWpuoOvo5LcRsJ1aE72TrdvnQ2qK2Cbl+itgHKXKlH91Xp16+cmg8oCLpwqEn3bCjWZBsSSP l78Uj19JljAQmVREvLSWaCcMP5lCP3E2cvy/wZvBk/KZI5Cn66wXHtahxx/QNGMUhNb/3nhsaR1Rg VhkAVnBLv3pKcX8HgTGhU1PI9BJ3mltaFuM1a2trVemIjZx+ahhPZow+/eA3BxJ1yDB/7hUjIQdP3 2jI8v7TtSGFH+1ZgGaGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQG73-0079Md-9s; Tue, 14 Sep 2021 21:37:09 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQG6r-0079Hc-QC; Tue, 14 Sep 2021 21:37:00 +0000 Received: by mail-qv1-xf35.google.com with SMTP id u4so629939qvb.6; Tue, 14 Sep 2021 14:36:56 -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=udAMjuzQQXCmw/M6tlpuan4V6V3k6IzB88Y+68k1I+A=; b=NcDjiaFrICMq2t8AiYC0QR1foMx2X9OFceglBCdJBSFSmbw8Qa764mZRGKs/hE07+N qZ8gxdnLAXMJqqymPBeQ/wU1VIiQT4OYq6nW/rC9G7yNG0MxmJl1n15JwfufsxJAHYWD ppvCyXSETWO8I9Ijqc90AgfIp5AKCuvsPAOPUEsWkbP67Qs3ECtC5/j9QnOeovvJKWLe tKCmyYTJHFVCGZZkt+eJhKIu+zqOwEtYfi9HC895+ZuNUKoMMJhm3oxAyrqeAhJhAMW+ TqvGv3ipHzryrZrGrqGfYG6DD0yXcATFLaoiFQIQ1JYT6vDqIv6XbtN482mQdKu31LBK QhJA== 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=udAMjuzQQXCmw/M6tlpuan4V6V3k6IzB88Y+68k1I+A=; b=8DkO6cRRNjrZ4dWnJjlZjC43J8p6MPcY5T0gFcvw6jWAnc1jUfpOKbgO7YyNYKB0H0 mphQ2HmuuJZMrZC5fPfgLZLxPG/jg+02qbciuFNdld8/mTKlrROSezeg2Nr6+o+Gr1dy wG1p0pZowxwqCv2usWZNn/NP3CuA8Sid7NaOSIYk8U9Ap3rpvecs1t2on/HwTAU/YJB8 K8VHEpFEnCyDlwH/HjDhJ2kkM72tOkryh5WZVIBbOKbA3xblYpIzXZT8wRbkAsWH6ZcB 6N3nXUASkslD/19pvE7w1TlIQ0esRCmOb72GYs7aTx+rKDvXjfvxdXPDX6tWpi46SAm5 sXUw== X-Gm-Message-State: AOAM530RRO1XQY0s1yRzd/VQIlNciR8rHmL/ObSVTE49AC/FOCBbnkw+ AXGqwkRL2NoDezJnXuzGi9Q= X-Google-Smtp-Source: ABdhPJxxXWO0eizgQx1CYU83tgTd5fvuSvlhbjAtTXF9Zcp944W2+8AW/NjkFcB1YPUHP0awC269Og== X-Received: by 2002:a0c:8e05:: with SMTP id v5mr7695690qvb.25.1631655415960; Tue, 14 Sep 2021 14:36:55 -0700 (PDT) Received: from localhost.localdomain ([191.84.239.65]) by smtp.gmail.com with ESMTPSA id o7sm6716611qtw.87.2021.09.14.14.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 14:36:55 -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 4/8] staging: vchiq_arm: clarify multiplication expressions Date: Tue, 14 Sep 2021 18:35:32 -0300 Message-Id: <20210914213532.396654-4-gascoar@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914213532.396654-1-gascoar@gmail.com> References: <20210914213532.396654-1-gascoar@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_143657_912294_5A5BACDB X-CRM114-Status: GOOD ( 10.28 ) 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 --- 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 f8b3997125e4..bb4035f2de65 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);