Re: [PATCH] firmware: arm_scmi: Use NULL instead of integer 0 for rate pointer

From: Arnd Bergmann
Date: Fri Jul 17 2020 - 10:08:17 EST


On Fri, Jul 17, 2020 at 4:04 PM Sudeep Holla <sudeep.holla@xxxxxxx> wrote:
>
> Kbuild test robot reports the following sparse warning:
>
> drivers/firmware/arm_scmi/clock.c:142:21:
> sparse: Using plain integer as NULL pointer
>
> Use NULL pointer instead of integer 0 for rate pointer and fix the
> warning.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> ---
> drivers/firmware/arm_scmi/clock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Hi Arnd,
>
> Kbuild test robot reported this warning from the soc tree. Can you apply
> this directly or do you prefer pull request. Let me know.

Applied, thanks!

Arnd