From patchwork Tue Aug 24 10:00:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 501799 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp2993930jab; Tue, 24 Aug 2021 03:06:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr/x5FMeGqy9qr471ORw9CmPnTnRsA+5LcaYZoSiITBaQQtbfyFtv6kV9TWXvGx+qwg7aQ X-Received: by 2002:a05:6e02:1546:: with SMTP id j6mr25582319ilu.154.1629799565413; Tue, 24 Aug 2021 03:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629799565; cv=none; d=google.com; s=arc-20160816; b=TSFItXDeb9iiKuRBejE2PmaxWxPDimEeB+aTjs5PN15m4++QCBYhu3/Un3pHQWn44Y WsndqwMkpDEDzfcVeZgMWHwtrLYA+sytWomdHuJrB1/uNZYjq2Z2QPLqNEmf9NiYoS9z USBfnPYLY59KPIYk6r0/NWhoZ5/6J1xcxJ7hz75Yc/F5W7quEen5AZbgDE3SU+dIqEjk o2mbEI0kkzhFSawCXJ/SQIIaZe4Wf0SebqHQHDCDjD2Fme0juB2HB8K+3knaa9mOpBbe CDKR1MExn+LgWGl0uQoJGUqEjoYAWkxqBle+HRIigmULs8kga81DGW5+5+2ivTMX1jzb tLJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=yZtZ9IhTXYxe4S9NaQJrxPkpIYdEFbkJOoa+RMuF5R8=; b=Cd4xVJ4rSfczBeeHbmQysAvzLAOMHI5dUxNMdzWDDCnV3V4nJ/mq8jNdUituY0MCOb ghR3C0Az9w+qJRIbGDKq6eyIJf6v028EQGD9bsILxDmH5B1NEAzMtOlNI/6hlQASH6Y8 lSf2tEfkzjFu+HCkgiuRuQ3bqXC0tk37FoVLnGDtaSp3DAZ5+sSIQ9xAseKMwZWs9+Zm Vg24DeHMJWxXI1OsUzhd+nMUZO7aFUsm2C8QoOTdtMklBO09qxKTeHEn+RmJ6glkjSpU D///UWK5wuUbL8AlsJjCzzb6YaitC+DsaClXdGH7BNQWmb74lv2ZY02YBEaxsaXovjtd VDFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si13874034ils.66.2021.08.24.03.06.05 for ; Tue, 24 Aug 2021 03:06:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236120AbhHXKGr (ORCPT ); Tue, 24 Aug 2021 06:06:47 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3683 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235963AbhHXKGg (ORCPT ); Tue, 24 Aug 2021 06:06:36 -0400 Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Gv4Tk62g8z67X6t; Tue, 24 Aug 2021 18:04:42 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Tue, 24 Aug 2021 12:05:51 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Tue, 24 Aug 2021 11:05:49 +0100 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 2/5] scsi: hisi_sas: Remove print in v3 hw probe about #hw queues Date: Tue, 24 Aug 2021 18:00:57 +0800 Message-ID: <1629799260-120116-3-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1629799260-120116-1-git-send-email-john.garry@huawei.com> References: <1629799260-120116-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The count of HW queues is available from sysfs, so remove the print in the v3 hw probe function. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.2 diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c index e3be5743e77b..f57d9f488a42 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c @@ -4762,7 +4762,7 @@ hisi_sas_v3_probe(struct pci_dev *pdev, const struct pci_device_id *id) rc = interrupt_preinit_v3_hw(hisi_hba); if (rc) goto err_out_debugfs; - dev_err(dev, "%d hw queues\n", shost->nr_hw_queues); + rc = scsi_add_host(shost, dev); if (rc) goto err_out_free_irq_vectors;