mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-07 22:38:55 +00:00
35985454a6
Removed because already in upstream: target/linux/bcm53xx/patches-5.10/030-v5.11-0002-ARM-dts-BCM5301X-Harmonize-EHCI-OHCI-DT-nodes-name.patch target/linux/bcm53xx/patches-5.10/033-v5.16-0019-ARM-dts-BCM53573-Describe-on-SoC-BCM53125-rev-4-swit.patch target/linux/bcm53xx/patches-5.10/040-v6.6-0005-ARM-dts-BCM53573-Drop-nonexistent-usb-cells.patch target/linux/bcm53xx/patches-5.10/040-v6.6-0006-ARM-dts-BCM53573-Add-cells-sizes-to-PCIe-node.patch target/linux/bcm53xx/patches-5.10/040-v6.6-0007-ARM-dts-BCM53573-Use-updated-spi-gpio-binding-proper.patch target/linux/bcm53xx/patches-5.10/040-v6.6-0008-ARM-dts-BCM5301X-Extend-RAM-to-full-256MB-for-Linksy.patch All other patches automatically rebased. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 38e44c7926512cff0b2809dc329de2a8e769e523 Mon Sep 17 00:00:00 2001
|
|
From: Hayes Wang <hayeswang@realtek.com>
|
|
Date: Fri, 19 Feb 2021 17:04:42 +0800
|
|
Subject: [PATCH] r8152: replace netif_err with dev_err
|
|
|
|
commit 156c3207611262266f0eea589ac3f00c5657320e upstream.
|
|
|
|
Some messages are before calling register_netdev(), so replace
|
|
netif_err() with dev_err().
|
|
|
|
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
|
|
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
|
---
|
|
drivers/net/usb/r8152.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/usb/r8152.c
|
|
+++ b/drivers/net/usb/r8152.c
|
|
@@ -6599,7 +6599,7 @@ static int rtl_ops_init(struct r8152 *tp
|
|
|
|
default:
|
|
ret = -ENODEV;
|
|
- netif_err(tp, probe, tp->netdev, "Unknown Device\n");
|
|
+ dev_err(&tp->intf->dev, "Unknown Device\n");
|
|
break;
|
|
}
|
|
|
|
@@ -6856,7 +6856,7 @@ static int rtl8152_probe(struct usb_inte
|
|
|
|
ret = register_netdev(netdev);
|
|
if (ret != 0) {
|
|
- netif_err(tp, probe, netdev, "couldn't register the device\n");
|
|
+ dev_err(&intf->dev, "couldn't register the device\n");
|
|
goto out1;
|
|
}
|
|
|