Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2405603rdh; Wed, 27 Sep 2023 01:17:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCCZf7XHmhRNPa33bJMDdOl4UtPHWCQqJnLXpGcy+vdQ26P09CLCfS9JUoIrElweO1QGZx X-Received: by 2002:a05:6a20:3942:b0:15e:9032:4199 with SMTP id r2-20020a056a20394200b0015e90324199mr1441457pzg.18.1695802629762; Wed, 27 Sep 2023 01:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695802629; cv=none; d=google.com; s=arc-20160816; b=X3cS957nts7Ze/TZYwGORf5xzpxCG4Wt4L6Ch/bvuDV/bhHmMFrPXeClOFStTqR4Ye jqjyKCgV5z2Da6O7yPjQVwz1iJvEGb79fCDN3dF2caSXhIyA6OlibwSs3Fn+uoMJa7Bj YK1QmmIaixZqiqrRfKIzXfLdwMZmcvTsyzhHaTPIl1SBAfX3870V9D9QAUqk9v5V+wZe /AhNtLc/ZOy88dXbtHH2otAfFjA1SGCdp4zF0lEq6foQdRN5p1CDhx828osmULGpJyYC yvLyW7hMCBmc0GTOZl20/zPnGQchSdrX8T0fZtvxEVhw5T12jwuLfX6l0GkdKY0LT4iz eRWQ== 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=zkSqOb3LzQJ3ZaZGx0fwgJC2Bj8KgYx6jJV1I26ecZc=; fh=7XxrSkeWz746vvy4RO2T3/Acu1znasH/bthfsQTCQZk=; b=k0Cj9e2OdluRH8SG3WNcl5lThfkjZUI9NwX3Nwd2DDh6QghrzJ5BBUb8yiy2JAaYyk 3/GQqIrRtBsKhppzrwplnuHHQOJx+HzGzMVxlFcvoUndQYO8XOTKIj14hIhjbeqXfZZD pjujrRtCxmm3m0uXwSTKVDnv6S++BMZ8904TwqRT3YfQDp/qQqQRmPo0T//u7jcvJvuU UpSKlChabGMC9BtckuFWYo3FYTi9gZ/XB/HYD+NM7/YL0BTKy1xocuV1q2ysJn2gGCk8 pCEfarowLa9ktg5hEoe3bxrIuZD2okJzfkjAc0xksH7SVXD0agFHcZ5QmAE7S0lwGu6b SNOA== 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:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id z10-20020a17090abd8a00b002773a93aa5asi9145699pjr.38.2023.09.27.01.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:17:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id EF59D80C2E02; Wed, 27 Sep 2023 01:05:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230088AbjI0IFX (ORCPT + 99 others); Wed, 27 Sep 2023 04:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjI0IFO (ORCPT ); Wed, 27 Sep 2023 04:05:14 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CA78CDA; Wed, 27 Sep 2023 01:05:01 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Wed, 27 Sep 2023 16:03:43 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Wed, 27 Sep 2023 16:03:43 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: esp_scsi: Clean up errors in esp_scsi.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: <234008e6.887.18ad5aa5094.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDnhD_f4RNl7vW9AA--.582W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQAHEWUSpy8AOwAesN 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:05:56 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlc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