Re: [PATCH 1/4] drivers: qcom: rpmh: fix macro to accept NULL argument

From: Stephen Boyd
Date: Wed Aug 14 2019 - 13:59:47 EST


Quoting Maulik Shah (2019-08-13 01:24:39)
> Device argument matches with dev variable declared in RPMH message.
> Compiler reports error when the argument is NULL since the argument
> matches the name of the property. Rename dev argument to device to
> fix this.
>
> Signed-off-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
> ---

Maybe this should have a Fixes tag? And the subject could be something
like "avoid shadowing local variables in macro"?

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>