On 12/2/26 10:33, Prabhakar wrote:
> From: Lad Prabhakar <prab…@bp.renesas.com>
>
> The tagger uses DSA_TAG_PROTO_RZN1_A5PSW, but its module alias
> references DSA_TAG_PROTO_A5PSW, which is not the correct protocol
> identifier. Consequently, the generated alias does not match the
> RZ/N1 tag protocol, preventing automatic module loading.
>
> Use DSA_TAG_PROTO_RZN1_A5PSW when generating the module alias.
>
> Fixes: a08d6a6dc820 ("net: dsa: add Renesas RZ/N1 switch tag driver")
> Signed-off-by: Lad Prabhakar <prab…@bp.renesas.com>
> ---
> Note, Ive not considered this as a fix to net and instead posting it to
> net-next as this issue has been since day one. Other fixes which have
> been lingering from the first revision were also applied to net-next
> see [0].
> [0] https://lore.kernel.org/all/2026…@bp.renesas.com/
>
> v6:
> - New patch
> ---
> net/dsa/tag_rzn1_a5psw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/dsa/tag_rzn1_a5psw.c b/net/dsa/tag_rzn1_a5psw.c
> index aab0ec143c77..957663c7c101 100644
> --- a/net/dsa/tag_rzn1_a5psw.c
> +++ b/net/dsa/tag_rzn1_a5psw.c
> @@ -114,5 +114,5 @@ static const struct dsa_device_ops a5psw_netdev_ops = {
> MODULE_DESCRIPTION("DSA tag driver for Renesas RZ/N1 A5PSW switch");
> MODULE_LICENSE("GPL v2");
> -MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_A5PSW, A5PSW_NAME);
> +MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RZN1_A5PSW, A5PSW_NAME);
> module_dsa_tag_driver(a5psw_netdev_ops);
LGTM,
Reviewed-by: Clément Léger <clem…@linux.dev>
Thanks,
Clément