From patchwork Mon Nov 12 17:28:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 150865 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3403944ljp; Mon, 12 Nov 2018 09:26:48 -0800 (PST) X-Google-Smtp-Source: AJdET5cLQlEs/wbGvrM3aUssIh42CJVaT9L8Q2ZFFnhKDgTGN2zCUXYYrQdg//YZ3nHByz6qdin0 X-Received: by 2002:a63:d047:: with SMTP id s7mr507402pgi.311.1542043608065; Mon, 12 Nov 2018 09:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542043608; cv=none; d=google.com; s=arc-20160816; b=AHT4T69+7YsJbEkbimvwef9gBQCdPqprrZdUNWdAesYNoIlmpTBo/s6cCQ/Wi+WJXP HizRzUTv52QmHU8+j79zxiQumfD0JwPvUxRP7hUPP1Kv9or3LHXXHkdsTm0q4XG1raVj dFnUrmkPaU6dRTtq/Zj3InfmaGVdqUBqHfrNwvBHGF4uyaCmQlMaZ89O/Gi8Qmsorjv/ aGts5oVQ5BG+IvUrkn8FQUigeJ590mv1sW9skivejExVIVwBke4iXvNDJ4wCev/ewbMg 5n3DoCUWRdw8otHeiMj+HNFHxhzQgzrazyO3R7cR9o+95Zo54AIg9TaBgDLjoEce3T5O 3mNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=TKzJlVXSfzmpO7GKc+Tdntat1670dFasQ3vGHPLzd7A=; b=f21UtNEX51mt0fPEhyAdOTMeUzQYUndPfwjyc5tp3HvDvBXSMyUhlGLtdYW8gTqKYH xL1+ecNcpKsijHSFpB69V4VZdnSFI5lLrkaH8N3zN6vC+mKvXSh2UkfHhLvHYSWXrG1Y kIxjIlLTi7ca5BZrMZ/m1YH5uxO88eQKEiWmWNLI8LMnp6R0xUnRJXdNxsfQL7kZSrlD PCy6qtc6HTQqSSnv7yM59ifNY5T1HmrxHv3u7rk/3qKnTvkPspHqIHA0rIC/WTXQsw80 4KRTu24Mm5kR+0HgJ3bWE23WgGsueiRZREW26J++K3H1zXxvMPPI94tm/b0cAMol9uXy yeMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si16423124pga.83.2018.11.12.09.26.47; Mon, 12 Nov 2018 09:26:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728018AbeKMDU6 (ORCPT + 1 other); Mon, 12 Nov 2018 22:20:58 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:39553 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727185AbeKMDU6 (ORCPT ); Mon, 12 Nov 2018 22:20:58 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2FBE063D345D8; Tue, 13 Nov 2018 01:26:43 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.408.0; Tue, 13 Nov 2018 01:26:36 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH] scsi: libsas: Remove pcidev reference Date: Tue, 13 Nov 2018 01:28:09 +0800 Message-ID: <1542043689-214071-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Not all host drivers are PCI drivers - like hisi_sas, which supports a platform driver - so remove reference to "pcidev". The debug level is also downgraded to KERN_ERR for the same message. Signed-off-by: John Garry -- 1.9.1 diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c index 6b12c67..3428ea9 100644 --- a/drivers/scsi/libsas/sas_discover.c +++ b/drivers/scsi/libsas/sas_discover.c @@ -186,7 +186,7 @@ int sas_notify_lldd_dev_found(struct domain_device *dev) res = i->dft->lldd_dev_found(dev); if (res) { - printk("sas: driver on pcidev %s cannot handle " + pr_err("sas: driver on host %s cannot handle " "device %llx, error:%d\n", dev_name(sas_ha->dev), SAS_ADDR(dev->sas_addr), res);