2017-09-07 11:24:41

by Mathieu Malaterre

[permalink] [raw]
Subject: [PATCH] drivers: net: Display proper debug level up to 6

This will make it explicit some messages are of the form:
dm9000_dbg(db, 5, ...

Signed-off-by: Mathieu Malaterre <[email protected]>
---
drivers/net/ethernet/davicom/dm9000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index 16fe776ddbe5..50222b7b81f3 100644
--- a/drivers/net/ethernet/davicom/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
@@ -65,7 +65,7 @@ MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds");
*/
static int debug;
module_param(debug, int, 0644);
-MODULE_PARM_DESC(debug, "dm9000 debug level (0-4)");
+MODULE_PARM_DESC(debug, "dm9000 debug level (0-6)");

/* DM9000 register address locking.
*
--
2.11.0


2017-09-09 03:53:48

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] drivers: net: Display proper debug level up to 6

From: Mathieu Malaterre <[email protected]>
Date: Thu, 7 Sep 2017 13:24:20 +0200

> This will make it explicit some messages are of the form:
> dm9000_dbg(db, 5, ...
>
> Signed-off-by: Mathieu Malaterre <[email protected]>

Applied.