lkml.org 
[lkml]   [2018]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.18 47/56] net: usb: rtl8150: demote allmulti message to dev_dbg()
    Date
    3.18-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: David Lechner <david@lechnology.com>

    [ 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>
    ---
    drivers/net/usb/rtl8150.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/usb/rtl8150.c
    +++ b/drivers/net/usb/rtl8150.c
    @@ -681,7 +681,7 @@ static void rtl8150_set_multicast(struct
    (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;

    \
     
     \ /
      Last update: 2018-08-26 08:49    [W:4.949 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site