[PATCH net-next 14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table

Daniel Golle daniel at makrotopia.org
Fri Sep 4 02:59:21 PDT 2026


On Fri, Sep 04, 2026 at 10:06:20AM +0530, Siddharth Vadapalli wrote:
> Since sentinel is the last entry and we do not expect further entries
> following it, remove the comma.
> 
> Signed-off-by: Siddharth Vadapalli <s-vadapalli at ti.com>
> ---
>  drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/dsa/lantiq/mxl-gsw1xx.c b/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> index a1104b2f92a9..347e16e9fdc1 100644
> --- a/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> +++ b/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> @@ -918,7 +918,7 @@ static const struct of_device_id gsw1xx_of_match[] = {
>  	{ .compatible = "maxlinear,gsw140", .data = &gsw140_data },
>  	{ .compatible = "maxlinear,gsw141", .data = &gsw141_data },
>  	{ .compatible = "maxlinear,gsw145", .data = &gsw140_data },
> -	{ /* sentinel */ },
> +	{ /* sentinel */ }
>  };

Reviewed-by: Daniel Golle <daniel at makrotopia.org>



More information about the linux-riscv mailing list