170c2f3ad0f58550604d53f19349067fb10d8822
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0333-pcie-brcmstb-bounce64.c-dev_err-dev_info-for-info-me.patch
1 From 2340a88a493d750dc3fcfa48de880fc4b8e479d2 Mon Sep 17 00:00:00 2001
2 From: Floris Bos <bos@je-eigen-domein.nl>
3 Date: Fri, 4 Oct 2019 16:41:30 +0200
4 Subject: [PATCH] pcie-brcmstb-bounce64.c: dev_err() -> dev_info() for
5 info messages
6
7 "dmabounce: initialised" is not an error, so do not log it as such.
8 Prevents screen polution on OS with "quiet" as kernel parameter.
9
10 Closes #3266
11 ---
12 drivers/pci/controller/pcie-brcmstb-bounce64.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/pci/controller/pcie-brcmstb-bounce64.c
16 +++ b/drivers/pci/controller/pcie-brcmstb-bounce64.c
17 @@ -517,7 +517,7 @@ int brcm_pcie_bounce_init(struct device
18
19 g_dmabounce_device_info = device_info;
20
21 - dev_err(dev, "dmabounce: initialised - %ld kB, threshold %pad\n",
22 + dev_info(dev, "dmabounce: initialised - %ld kB, threshold %pad\n",
23 buffer_size / 1024, &threshold);
24
25 return 0;