staging: rtl8723bs: Change rtw_ndev_notifier_call message to dbg
PATCH 1/1 staging: rtl8723bs: Change rtw_ndev_notifier_call message to dbg
From: Chris Morgan <[email protected]>
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.
Signed-off-by Chris Morgan <[email protected]>
--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1 -1
@@ -389,7 +389,7 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long stateif (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 ;
Signature · 1 line
2.25.1
Hi,
Quoted 8 lines · Chris Morgan
From: Chris Morgan <[email protected]>
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.
Signed-off-by Chris Morgan <[email protected]>
Thanks, patch looks good to me:
Reviewed-by Hans de Goede <[email protected]>
Regards,
Hans
Quoted 17 lines
--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -389,7 +389,7 @@ static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long stateif (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 ;