netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ethernet: rvu-af: Remove slash from the driver name
@ 2025-09-17  7:12 Petr Malat
  2025-09-17 16:06 ` Andrew Lunn
  2025-09-17 18:37 ` Stephen Hemminger
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Malat @ 2025-09-17  7:12 UTC (permalink / raw)
  To: netdev; +Cc: sgoutham, lcherian, gakula, jerinj, sbhatta, Petr Malat

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.

Signed-off-by: Petr Malat <oss@malat.biz>
---
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 3 +--
 1 file changed, 1 insertion(+), 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
 
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ethernet: rvu-af: Remove slash from the driver name
  2025-09-17  7:12 [PATCH] ethernet: rvu-af: Remove slash from the driver name Petr Malat
@ 2025-09-17 16:06 ` Andrew Lunn
  2025-09-17 18:37 ` Stephen Hemminger
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2025-09-17 16:06 UTC (permalink / raw)
  To: Petr Malat; +Cc: netdev, sgoutham, lcherian, gakula, jerinj, sbhatta

On Wed, Sep 17, 2025 at 09:12:30AM +0200, Petr Malat wrote:
> 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.
> 
> Signed-off-by: Petr Malat <oss@malat.biz>

Hi Petr

This probably should be for net, not next-next. Please see:

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

Please also include a Fixes: tag.


    Andrew

---
pw-bot: cr

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ethernet: rvu-af: Remove slash from the driver name
  2025-09-17  7:12 [PATCH] ethernet: rvu-af: Remove slash from the driver name Petr Malat
  2025-09-17 16:06 ` Andrew Lunn
@ 2025-09-17 18:37 ` Stephen Hemminger
  2025-09-18 15:21   ` [PATCH net v2] " Petr Malat
  1 sibling, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2025-09-17 18:37 UTC (permalink / raw)
  To: Petr Malat; +Cc: netdev, sgoutham, lcherian, gakula, jerinj, sbhatta

On Wed, 17 Sep 2025 09:12:30 +0200
Petr Malat <oss@malat.biz> wrote:

> 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.
> 
> Signed-off-by: Petr Malat <oss@malat.biz>
> ---
>  drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 3 +--
>  1 file changed, 1 insertion(+), 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
>  
Please add

Fixes: 91c6945ea1f9 ("octeontx2-af: cn10k: Add RPM MAC support")


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH net v2] ethernet: rvu-af: Remove slash from the driver name
  2025-09-17 18:37 ` Stephen Hemminger
@ 2025-09-18 15:21   ` Petr Malat
  2025-09-19 17:10     ` Simon Horman
  2025-09-20  0:20     ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Malat @ 2025-09-18 15:21 UTC (permalink / raw)
  To: netdev; +Cc: stephen, sgoutham, lcherian, gakula, jerinj, sbhatta, Petr Malat

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 <oss@malat.biz>
---
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 3 +--
 1 file changed, 1 insertion(+), 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
 
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH net v2] ethernet: rvu-af: Remove slash from the driver name
  2025-09-18 15:21   ` [PATCH net v2] " Petr Malat
@ 2025-09-19 17:10     ` Simon Horman
  2025-09-20  0:20     ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Horman @ 2025-09-19 17:10 UTC (permalink / raw)
  To: Petr Malat; +Cc: netdev, stephen, sgoutham, lcherian, gakula, jerinj, sbhatta

On Thu, Sep 18, 2025 at 05:21:07PM +0200, Petr Malat wrote:
> 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 <oss@malat.biz>

Reviewed-by: Simon Horman <horms@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH net v2] ethernet: rvu-af: Remove slash from the driver name
  2025-09-18 15:21   ` [PATCH net v2] " Petr Malat
  2025-09-19 17:10     ` Simon Horman
@ 2025-09-20  0:20     ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-09-20  0:20 UTC (permalink / raw)
  To: Petr Malat; +Cc: netdev, stephen, sgoutham, lcherian, gakula, jerinj, sbhatta

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 18 Sep 2025 17:21:07 +0200 you wrote:
> 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 <oss@malat.biz>
> 
> [...]

Here is the summary with links:
  - [net,v2] ethernet: rvu-af: Remove slash from the driver name
    https://git.kernel.org/netdev/net/c/b65678cacc03

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-20  0:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17  7:12 [PATCH] ethernet: rvu-af: Remove slash from the driver name Petr Malat
2025-09-17 16:06 ` Andrew Lunn
2025-09-17 18:37 ` Stephen Hemminger
2025-09-18 15:21   ` [PATCH net v2] " Petr Malat
2025-09-19 17:10     ` Simon Horman
2025-09-20  0:20     ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).