From patchwork Thu Sep 28 02:05:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3020687vqu; Wed, 27 Sep 2023 19:07:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH2vPDbYm/4G9OCxRgU+O9Sft9eIMLLj5iirWC3hVL8fpEVphVtdUyhFzSd9Vat2AdLqZMw X-Received: by 2002:a05:6808:238d:b0:3a7:4161:44ee with SMTP id bp13-20020a056808238d00b003a7416144eemr4572091oib.6.1695866862808; Wed, 27 Sep 2023 19:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695866862; cv=none; d=google.com; s=arc-20160816; b=mPXzgdOOUNSd0yzfw5Ig63kqZCZS/uSl1alOOjXocW8QhtdKcjjCEQl8/sl+jVtDsr R3vByQ85lVUmeq2R0FrDZq586jhFdkIcExXJfIXppjbaei5G0HfDeJHB/xi2XvqrwQZf pQgjekyG28LOtAIPx1qH1K1UiqYwzDT4R1Bme+2HOG8nzSMBHvXuSB0v27zkG96KSK98 r5CiCyZd/qFPd1XS9bM6CfHu/a+wQF7Y8dODs/hKKNGntaiM/5PCshz3Lb4JQQQTwHMn 1PLUGAHgq3H3Vgjg3AAjsjvvnCiim7YNBNfxBctGHW8cdCHRjPefQb1U+Xv6ub8oGI6K WGjg== 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=2jQ3gQ9nSTsIsvrgxJYiUdxjoxIH8EceWk7QkneOL8s=; fh=7XxrSkeWz746vvy4RO2T3/Acu1znasH/bthfsQTCQZk=; b=w35rOtJP238LNzmc1yEItEn1gPBrv2PYfVKAsD9IoLxa8sby47L0IgMxxVZ75Js20v eDKym2eqpOBOZZOxN/YzxHzAN8pZAkMZvbDBZ+9OZUHwD8m4C96GnzkAyFfxnjh8HVYr j/yWbBDI3LXkR0iHasnY/sM5PJ6uWvmDvocXkK8ZRadofLXhxSkFwDsu8KgRNJvuS352 DDWBXDQ/TpHFJ7iqmW6SqAKmyo74bz5JNKoTVLZbVeZx2nJauFoL7ofIt5eCDkgYtQfi VD4CWuqD5FhIZE6IrVo/iVodOxqxHB0tNDDxFt8yisp4XHaDQSdR/r6iI80q50I1zN7e xgOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id t23-20020a656097000000b00578daf88066si10696793pgu.215.2023.09.27.19.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id F08A981A4FCA; Wed, 27 Sep 2023 19:06:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbjI1CGn (ORCPT + 20 others); Wed, 27 Sep 2023 22:06:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1CGl (ORCPT ); Wed, 27 Sep 2023 22:06:41 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5941EAC; Wed, 27 Sep 2023 19:06:39 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 10:05:20 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 10:05:20 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: lpfc: Clean up errors in lpfc.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: <221a3afa.89f.18ad9888f69.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3lD9g3xRlEXm+AA--.687W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQAZsh 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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 19:06:56 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778245291817845713 X-GMAIL-MSGID: 1778245291817845713 Fix the following errors reported by checkpatch: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: KaiLong Wang --- drivers/scsi/lpfc/lpfc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index af15f7a22d25..10c95dd87759 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h @@ -89,7 +89,7 @@ struct lpfc_sli2_slim; #define putPaddrLow(addr) ((uint32_t) (0xffffffff & (u64)(addr))) #define putPaddrHigh(addr) ((uint32_t) (0xffffffff & (((u64)(addr))>>32))) #define getPaddr(high, low) ((dma_addr_t)( \ - (( (u64)(high)<<16 ) << 16)|( (u64)(low)))) + (((u64)(high)<<16) << 16)|((u64)(low)))) /* Provide maximum configuration definitions. */ #define LPFC_DRVR_TIMEOUT 16 /* driver iocb timeout value in sec */ #define FC_MAX_ADPTMSG 64