Skip to content

Commit 016a91c

Browse files
vwaxdavem330
authored andcommitted
dwc_eth_qos: use DWCEQOS_MSG_DEFAULT
Since debug is hardcoded to 3, the defaults in the DWCEQOS_MSG_DEFAULT macro are never used, which does not seem to be the intended behaviour here. Set debug to -1 like other drivers so that DWCEQOS_MSG_DEFAULT is actually used by default. Signed-off-by: Rabin Vincent <rabinv@axis.com> Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e8b0c32 commit 016a91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/synopsys/dwc_eth_qos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
#define DWC_MMC_RXOCTETCOUNT_GB 0x0784
427427
#define DWC_MMC_RXPACKETCOUNT_GB 0x0780
428428

429-
static int debug = 3;
429+
static int debug = -1;
430430
module_param(debug, int, 0);
431431
MODULE_PARM_DESC(debug, "DWC_eth_qos debug level (0=none,...,16=all)");
432432

0 commit comments

Comments
 (0)