From patchwork Thu Sep 28 03:03:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3040034vqu; Wed, 27 Sep 2023 20:08:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGjed3A/eTTyO+Yci5YIFRpk1tKvTT9WYiY8iaG6WNL8PS/L5SouiUoJaKkW9Uc2gCrxylG X-Received: by 2002:a05:6a21:790a:b0:154:e054:d0d1 with SMTP id bg10-20020a056a21790a00b00154e054d0d1mr28618pzc.55.1695870491025; Wed, 27 Sep 2023 20:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695870491; cv=none; d=google.com; s=arc-20160816; b=FHtSfc6uXI9bxslgmHaAwde5ONX0G70s3Plujh4qC03AW+hY8rJdYM3aF3FsdNsG9Q m1N3c16uKOenw73oVNrxUgPphK79jzVGnQStQmt6gg8yl5O2/Q1Wwkkh/qqIt7I0WLOW 6nh+JhhmxzmeBchDfLov5IhQcwD1uKVxEi6sdUn0t0fpmDFfsPa2a2Tp98Ih1A1T0mxD 38vMzZTWVy+K78dPyPyXt0HlYpeomq7hhW64JRumimvvszGrxMkfD6Wv3MgooCchzkV4 RVXyhTHA8SbSYbOLbAVeeQtJ1MrRkAZZ1oxMMxbQulXLCrBezIckYMJZ4jFdkNhNFoOI HTkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=M5ubJ0WznXjqvomuQHiAiOH6BsLm4gmkAZI9z+xhVbY=; fh=Tc+KD+HgxPy1oAgCHaobFeAbzlpvnq01pVYx/OFmtp0=; b=RtyPeMZO0Bv+i0GbuE81qeGKs/t4zJJgMcd8JZtg6OdeF57xJjtg2dCSsQvol/sbrU /PL8E4w8Jr11stFXbcwsRG8esPjmy2jSiWcxNvYzvsM6IT6RiCN25Z8elQa/wtfGnwt1 smQrvoY2vjHSDCSv0E+59HN5PD8gdeFj5Xz+7n/71C9oNwCcoOmN7H8gVrgHWeoxGpje 8AlL2Bhyz4kM7uLjZ048Awx1YASElXq6p//pRutpoDSz31Uew4HtLyU2kq2Ly7oniPEE /67wYPCwi3PxJ0eXLC/HsjyECoDEhKvkbECkuQRkpwePcdDtahG9tPamVARfAtmQm4Fy TUtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id lc14-20020a170902fa8e00b001b9ffdd9488si16267076plb.624.2023.09.27.20.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C3C7F80BB6E5; Wed, 27 Sep 2023 20:05:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbjI1DFR (ORCPT + 20 others); Wed, 27 Sep 2023 23:05:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1DFQ (ORCPT ); Wed, 27 Sep 2023 23:05:16 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B280694; Wed, 27 Sep 2023 20:05:14 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 11:03:55 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 11:03:55 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: arnd@arndb.de Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] div64: Clean up errors in div64.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <109c2e25.8a9.18ad9be34be.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3lD8b7RRl6X++AA--.693W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAIB2UT+K8AFQAEs+ X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:05:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778249095677138985 X-GMAIL-MSGID: 1778249095677138985 Fix the following errors reported by checkpatch: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: KaiLong Wang --- include/asm-generic/div64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h index 13f5aa68a455..ec75b7998d06 100644 --- a/include/asm-generic/div64.h +++ b/include/asm-generic/div64.h @@ -42,7 +42,7 @@ * NOTE: macro parameter @n is evaluated multiple times, * beware of side effects! */ -# define do_div(n,base) ({ \ +# define do_div(n, base) ({ \ uint32_t __base = (base); \ uint32_t __rem; \ __rem = ((uint64_t)(n)) % __base; \ @@ -216,7 +216,7 @@ extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor); /* The unnecessary pointer compare is there * to check for type safety (n must be 64bit) */ -# define do_div(n,base) ({ \ +# define do_div(n, base) ({ \ uint32_t __base = (base); \ uint32_t __rem; \ (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \