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

From: Sumitra Sharma
Date: Mon Mar 20 2023 - 04:44:36 EST


On Mon, Mar 20, 2023 at 08:39:49AM +0300, Dan Carpenter wrote:
> 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.
>

Hi dan,

I am facing problems in creating modules and in compiling them.

Any help in this would be appreciated. Here is the link to the thread https://lore.kernel.org/outreachy/alpine.DEB.2.22.394.2303191336090.2867@hadrien/T/#t

Regards,

Sumitra

> regards,
> dan carpenter
>