diff options
author | David Lechner <david@lechnology.com> | 2018-07-16 17:58:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:09:18 +0200 |
commit | 1b1968d8f6ae913f5c0ec55893d324195d234fbe (patch) | |
tree | 3f64db807aded2cea7b00c60be8c1dcd2947b24a | |
parent | 70cc6b67508ca7a940f463a1aa12869f1f59fd7a (diff) | |
download | linux-stable-1b1968d8f6ae913f5c0ec55893d324195d234fbe.tar.gz linux-stable-1b1968d8f6ae913f5c0ec55893d324195d234fbe.tar.bz2 linux-stable-1b1968d8f6ae913f5c0ec55893d324195d234fbe.zip |
net: usb: rtl8150: demote allmulti message to dev_dbg()
[ Upstream commit 3a9b0455062ffb9d2f6cd4473a76e3456f318c9f ]
This driver can spam the kernel log with multiple messages of:
net eth0: eth0: allmulti set
Usually 4 or 8 at a time (probably because of using ConnMan).
This message doesn't seem useful, so let's demote it from dev_info()
to dev_dbg().
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/usb/rtl8150.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 5f565bd574da..48ba80a8ca5c 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c @@ -681,7 +681,7 @@ static void rtl8150_set_multicast(struct net_device *netdev) (netdev->flags & IFF_ALLMULTI)) { rx_creg &= 0xfffe; rx_creg |= 0x0002; - dev_info(&netdev->dev, "%s: allmulti set\n", netdev->name); + dev_dbg(&netdev->dev, "%s: allmulti set\n", netdev->name); } else { /* ~RX_MULTICAST, ~RX_PROMISCUOUS */ rx_creg &= 0x00fc; |