enc28j60: Correct description of debug module parameter
Subsystems (2)
PATCH 1/1 enc28j60: Correct description of debug module parameter
The netif_msg_init() API takes on input the amount of bits to be set. The description of debug parameter in the enc28j60 module is misleading in this sense and passing 0xffff does not give an expected behaviour.
Fix the description of debug module parameter to show what exactly is expected.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/net/ethernet/microchip/enc28j60.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/microchip/enc28j60.c +1 -1
@@ -1681,5 +1681,5 @@ MODULE_DESCRIPTION(DRV_NAME " ethernet driver");MODULE_AUTHOR ("Claudio Lanconelli <[email protected]>" );MODULE_LICENSE ("GPL" );module_param_named (debug, debug.msg_enable, int,0 ); -MODULE_PARM_DESC (debug,"Debug verbosity level (0=none, ..., ffff=all)" ); +MODULE_PARM_DESC (debug,"Debug verbosity level in amount of bits set (0=none, ..., 31=all)" );MODULE_ALIAS ("spi:" DRV_NAME );
Signature · 1 line
2.20.1
From: Andy Shevchenko <[email protected]>
Date: Wed, 27 Feb 2019 13:45:35 +0300
Quoted 7 lines
The
netif_msg_init()API takes on input the amount of bits to be set. The description of debug parameter in the enc28j60 module is misleading in this sense and passing0xffffdoes not give an expected behaviour.Fix the description of debug module parameter to show what exactly is expected.
Signed-off-by Andy Shevchenko <[email protected]>
Applied.