Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2950144rdh; Wed, 27 Sep 2023 19:34:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0aKJY0YhScKNYVF2smH204VUi0QFdBkfcSW3O9FWYQfHqdY2v67OaNuNTfGepbx6NHyiA X-Received: by 2002:a05:6a20:7d8a:b0:14d:9938:735f with SMTP id v10-20020a056a207d8a00b0014d9938735fmr3961699pzj.17.1695868450346; Wed, 27 Sep 2023 19:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695868450; cv=none; d=google.com; s=arc-20160816; b=YXb5MKuxcsK7NJeNyXu7zWRtGoYJwCC1nG+rvH9zhQwWGdNUVqUIreJb8zzYJ4PW6D ZauqK25c8dyn91XWRC3n9ZVu2Thx7plJwWz8+LkuesRU66XiAMDLTxzDCFPOD7yN7sSv zVzva8V6N3GvfhhZiG3pXTFOk8yYc20hAtTUjQKI5s879bolNersmZqxF4kY0ZvAApFO G90XBOAgL8b2CAHsG4zKzm6rmgEJoFZBqGvq1AvHA4Tcb0B3IxdYdPWg2iyNUjHoeMFc jAHzgEdxEEiLMbvkymLvGzrnekzgDay0meVXYtSbNsT6Z5RW7BoXL2u7DqL98a8nE0Ca 0vHA== 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=ST5CoLz805jgO1yz0yLjolX6bzIR3bvzR73iHSMja5g=; fh=7XxrSkeWz746vvy4RO2T3/Acu1znasH/bthfsQTCQZk=; b=XTY27K8ZeRIb5VkDUPZvD/NAP0bRNZfeWAih+bISkaLmrwwCxg1GMMxSDm/01+lMLy ThFiqeBeh/m4iPAOQJIRlcr9GVdyyPWS/p5PRlzpfyX+/4LrkzQ3v/i5SxEvdtWHKsZx dwZNO1w0N/YZIVxPXFal2n6Y/ZqBWXLQWtIT3EsgIBUFxPcu+8lNgY2/QJwLxfpBEF2w 3LMKQDtxZnsFH5oxvFUrjVHog66Bqiua2OkxMH4p+7nTQjF1qQb31AvLAd3phV2184Fd Uw5QTU0UCjveleOSX3xHgJNwq3pdQmRAy96GOyxLdN1dbjT5hdyrqKw60POD+Y+nIjfv 3TqA== 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 Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id kq12-20020a170903284c00b001bbc138af0dsi15932872plb.163.2023.09.27.19.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:34:10 -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 5A4F081A8AB8; Wed, 27 Sep 2023 19:33:42 -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 S230052AbjI1Cd0 (ORCPT + 99 others); Wed, 27 Sep 2023 22:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjI1CdZ (ORCPT ); Wed, 27 Sep 2023 22:33:25 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 95C4894; Wed, 27 Sep 2023 19:33:21 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 10:32:02 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 10:32:02 +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_debugfs.c 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: <7f56629a.8a3.18ad9a1036f.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD6i5RRli3y+AA--.585W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQAgsY 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:33:42 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3J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