lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250917113710.75b5f9db@hermes.local>
Date: Wed, 17 Sep 2025 11:37:10 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Petr Malat <oss@...at.biz>
Cc: netdev@...r.kernel.org, sgoutham@...vell.com, lcherian@...vell.com,
 gakula@...vell.com, jerinj@...vell.com, sbhatta@...vell.com
Subject: Re: [PATCH] ethernet: rvu-af: Remove slash from the driver name

On Wed, 17 Sep 2025 09:12:30 +0200
Petr Malat <oss@...at.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@...at.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")


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ