Thread (7 messages) flat view 7 messages, 3 authors, 2021-03-20

Re: [PATCH v2 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

From: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Date: 2021-03-16 16:34:00
Also in: linux-arm-kernel, linux-devicetree, lkml

On Mon, Mar 15, 2021 at 02:39:33PM -0700, David Miller wrote:
From: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Date: Mon, 15 Mar 2021 13:29:17 +0200
quoted
+
+#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK)
+static int debug = -1;
+module_param(debug, int, 0);
+MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
Module parameters are strongly discouraged in networking drivers, pplease delete this
ad just pass the default to netif_mdg_init(), thanks!
Ups, I was not aware of this since I've seen it in quite a lot of drivers.

Thanks for pointing this out, I will take care of it in the next
revision.

Kind regards,
Cristi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help