[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220726060509.20748-1-chenxingdi@huawei.com>
Date: Tue, 26 Jul 2022 14:05:09 +0800
From: Chen Xingdi <chenxingdi@...wei.com>
To: <mathias.nyman@...el.com>
CC: <gregkh@...uxfoundation.org>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <chunkeey@...glemail.com>,
<chenxingdi@...wei.com>
Subject: [PATCH -next] usb: renesas-xhci: Use pr_info while fw verify success
While fw verify success, it is confused to print an error
log which is actually not an error, so use pr_info to print
firmware version instead of pr_err.
Signed-off-by: Chen Xingdi <chenxingdi@...wei.com>
---
drivers/usb/host/xhci-pci-renesas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-pci-renesas.c b/drivers/usb/host/xhci-pci-renesas.c
index 52599d96634f..1eb1d863d545 100644
--- a/drivers/usb/host/xhci-pci-renesas.c
+++ b/drivers/usb/host/xhci-pci-renesas.c
@@ -151,7 +151,7 @@ static int renesas_fw_verify(const void *fw_data,
}
fw_version = get_unaligned_le16(fw_data + fw_version_pointer);
- pr_err("got firmware version: %02x.", fw_version);
+ pr_info("got firmware version: %02x.", fw_version);
return 0;
}
--
2.17.1
Powered by blists - more mailing lists