Re: [PATCH v2] Staging: nvec: Convert to_nvec_led from a macro to an inline function

From: Dan Carpenter
Date: Mon Mar 20 2023 - 01:40:03 EST


On Sat, Mar 18, 2023 at 10:52:50AM -0700, Sumitra Sharma wrote:
> Convert to_nvec_led from a macro to a static inline function, to make the
> relevant types apparent in the definition and to benefit from the type
> checking performed by the compiler at call sites.
>
> Signed-off-by: Sumitra Sharma <sumitraartsy@xxxxxxxxx>
> ---

You need to compile test your changes.

regards,
dan carpenter