Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2384918rdh; Wed, 27 Sep 2023 00:24:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpFd0ClhmtioFS+/5r0FHRE3BQQ82axg2eDIqQiaM1LHT3esJXpfiEIxVXrDsMQEYHMH8H X-Received: by 2002:a05:6a00:198b:b0:68f:cc67:e709 with SMTP id d11-20020a056a00198b00b0068fcc67e709mr8605833pfl.16.1695799495236; Wed, 27 Sep 2023 00:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695799495; cv=none; d=google.com; s=arc-20160816; b=divS74A77p1v6DTnp8y0ZuyxRUFDR3ngbDVqJTlxKAXj4dQhbcoSGRz0bbvZet5EK5 J37yjiZKkEYdOcRL49uhS/XkkFmCaSzcmjFiX+KvSi+gkreo8KkTydjPxCD6N8FCjxa8 Gu+5dZwAjBf2m3NzDVO/oy4QJFth5nJlBV28Kiuu90/BJLiX5/5AHVaGZ/illEG37fYJ kj2WV6r7dxKjEWE78mM+g/vFNf09m6u5g3fs6k+UFbWtm9ST0we2OXupnKBfEDqaCOyj OyfO8440TfcK+swu/ve/2WdyE7ms/eXNoUtfRYQI0GxkM3QdfhjZqzM7UUx4PQWrEy+m qfEw== 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=l8q2VfqjbJvaGIuNfVRYdWBujE9zTIARJq+7r6TcR/8=; fh=oim2ASdhGBzIbXdLEnFIbNOsNaqnzI/xugqVMsUkN48=; b=cNxEKm20vaNsJfTOnIsQlCPRf5muOA7RTkM8atZE073egPcqFl9OaG4STD7hkoj/4K MuRAMKUhbSeIKAAi3KkHt21YsrD5QRwRoNrfOsvfAbSAYDYLsfiZ1U8H3aHglKm1Sutl hXe0PAy0bsY8URz+557puGx2QDpEpeNKPRI4Eeh6YFsM//hkt/47FUv6Xcy9oBT+zUYC tDVOxwrDT6qaKT0elGqLdzXC7kdLmemaP/50bJOBR0od4MKsSN6tDEIxq9vd7LypPtO1 WWzySI+rXHJO+kyhZUsz7/oMQ947Q4rn4v1wfeYp7o5sWEWsTX6J66xMpwso4obDuzGu CBHg== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id cf4-20020a056a02084400b00578fdfa353asi14565713pgb.402.2023.09.27.00.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 00:24:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 446A78106799; Wed, 27 Sep 2023 00:18:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjI0HS5 (ORCPT + 99 others); Wed, 27 Sep 2023 03:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjI0HS4 (ORCPT ); Wed, 27 Sep 2023 03:18:56 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7101F11D; Wed, 27 Sep 2023 00:18:54 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Wed, 27 Sep 2023 15:17:35 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Wed, 27 Sep 2023 15:17:35 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: hare@suse.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: aic7xxx: aic79xx: Clean up errors in aic7xxx_proc.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: <241fddbf.87f.18ad5801405.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3lD8P1xNl4++9AA--.675W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQAHEWUSpy8AOwAHsU 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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 00:18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