staging: rtl8723bs: Change rtw_ndev_notifier_call message to dbg
authorChris Morgan <macromorgan@hotmail.com>
Wed, 23 Mar 2022 15:42:37 +0000 (10:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 05:33:45 +0000 (07:33 +0200)
The message received in the kernel log for the state of the notifier
call doesn't seem to be of much help to end users. Changing the message
type from info to dbg to hide the message unless you are debugging
the kernel or the network subsystem.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20220323154237.21736-1-macroalpha82@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/os_intfs.c

index 757efeb49d08776f0873363a4cad41f39da6ad95..380d8c9e1239eaa50a9e4979071e174684abc624 100644 (file)
@@ -389,7 +389,7 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state
        if (dev->netdev_ops->ndo_do_ioctl != rtw_ioctl)
                return NOTIFY_DONE;
 
-       netdev_info(dev, FUNC_NDEV_FMT " state:%lu\n", FUNC_NDEV_ARG(dev),
+       netdev_dbg(dev, FUNC_NDEV_FMT " state:%lu\n", FUNC_NDEV_ARG(dev),
                    state);
 
        return NOTIFY_DONE;