aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Malat <[email protected]>2025-09-18 15:21:07 +0000
committerJakub Kicinski <[email protected]>2025-09-20 00:00:53 +0000
commitb65678cacc030efd53c38c089fb9b741a2ee34c8 (patch)
treea2f685bc638ec2ae8fd903d54aedf27aa63fc20d
parentnet/smc: fix warning in smc_rx_splice() when calling get_page() (diff)
downloadkernel-b65678cacc030efd53c38c089fb9b741a2ee34c8.tar.gz
kernel-b65678cacc030efd53c38c089fb9b741a2ee34c8.zip
ethernet: rvu-af: Remove slash from the driver name
Having a slash in the driver name leads to EIO being returned while reading /sys/module/rvu_af/drivers content. Remove DRV_STRING as it's not used anywhere. Fixes: 91c6945ea1f9 ("octeontx2-af: cn10k: Add RPM MAC support") Signed-off-by: Petr Malat <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/cgx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
index 0c46ba8a5adc..69324ae09397 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
@@ -21,8 +21,7 @@
#include "rvu.h"
#include "lmac_common.h"
-#define DRV_NAME "Marvell-CGX/RPM"
-#define DRV_STRING "Marvell CGX/RPM Driver"
+#define DRV_NAME "Marvell-CGX-RPM"
#define CGX_RX_STAT_GLOBAL_INDEX 9