Re: [PATCH net-next 03/15] net: sparx5: rename *spx5 to *sparx5 in a few places

From: Jacob Keller
Date: Tue Oct 01 2024 - 13:55:34 EST




On 10/1/2024 6:50 AM, Daniel Machon wrote:
> In preparation for lan969x, we need to handle platform specific
> constants (which will be added in a subsequent patch). These constants
> will be accessed through a macro that requires the *sparx5 context
> pointer to be called exactly that.

Another place where macros implicitly assume some local variable? Not a
big fan of that, though I suppose it does leave shorter code.

No issue with the renames though.

Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>