Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2938099rdh; Wed, 27 Sep 2023 18:57:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG63nFJ6TEkB+ywpoqTiF4LkIaxJqOLVXUpS8Eu0pdq2KQRGqYcLkwKQRvC7PV8sLpAhlZY X-Received: by 2002:a05:6a20:560d:b0:161:25f7:40ce with SMTP id ir13-20020a056a20560d00b0016125f740cemr3610993pzc.27.1695866225423; Wed, 27 Sep 2023 18:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695866225; cv=none; d=google.com; s=arc-20160816; b=Asg1d0fQudGad1pujJpEVkzeFXhZcl4JsnjUXmCjUzgbiYp87ROWfv9uezP9L9Q2wO zSbrx6KIS9M3zo2yCkQBi4vmzmSPKdIQFeTu/7bMiozXzoMpxf1s2hbxzTusRAZknpOn MDDW/Dhq70hKZp1/gLx67usaNeRPXzZC61dJX82i129aBFvRvMyFKJ8TL4wv0y4CuMWQ CpUOS8KAyFMMCkaLjJlLvZ4JjGjGv99Xhl63mz+Z0HZkiSmczme/ZEsbBPm3gaN7cqaQ RMrfHdlLKbtuw6SQutf2TxcaNFSiqVd7OBHmG//Xt4extBs55DB3djqfjSdDVfCEyGBi eUFQ== 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=Cxfl8sJSplN/W7z/I9LcmQs/etDML723rOy9BpgZRiM=; fh=VWQ33Zfx/zv3LrpWUzhvz8BPpat9sHuLywepBQEIwvg=; b=hnNAyxMLzW/rqHLXSmgnx9/H9P4tjMzaitca1y7X739vfVLvszN5WpTUzzbAgInGRY IFCpxs6pnZzusxqA1dI0hZjOgmm1+3O4FBXux9jAZyLsri1MaemAoMV0OstniDb5uza+ IitstMpvcJ38fctIF6Vn4v4ydq7YDdm3AiFaM/5sq4FHrlfdxCGdAzhF6lIhqxzn9PE2 yOHui7OPDSgQrTMEgX0s+J3gJSmnBeMGwSApUwJi/xXnMs9qtfjt+eZPreDC2FwYM9uO V3Xc3+DA8WogoyS2heDk43D28BLRwXDyP0eFvY9fQR5VwudjkVqwFqICs1aZVyKh0ywI RXFQ== 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:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p7-20020a170902e74700b001bdc78deb5csi19121484plf.398.2023.09.27.18.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 18:57:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 632AA83713A0; Wed, 27 Sep 2023 18:49:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229793AbjI1BtN (ORCPT + 99 others); Wed, 27 Sep 2023 21:49:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1BtM (ORCPT ); Wed, 27 Sep 2023 21:49:12 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0D7E5B3; Wed, 27 Sep 2023 18:49:10 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 09:47:39 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 09:47:39 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: james.smart@broadcom.com, dick.kennedy@broadcom.com, 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_compat.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 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <3a564508.897.18ad97860cb.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDnhD872xRl73a+AA--.589W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQAPs3 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL,RDNS_NONE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Wed, 27 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