Re: [PATCH -next] powerpc/papr_scm: Fix warnings about undeclared variable

From: Vaibhav Jain
Date: Thu Sep 24 2020 - 07:48:26 EST



Thanks for the patch. This looks good to me.

Wang Wensheng <wangwensheng4@xxxxxxxxxx> writes:

> Build the kernel with 'make C=2':
> arch/powerpc/platforms/pseries/papr_scm.c:825:1: warning: symbol
> 'dev_attr_perf_stats' was not declared. Should it be static?

> Signed-off-by: Wang Wensheng <wangwensheng4@xxxxxxxxxx>
Reviewed-by: Vaibhav Jain <vaibhav@xxxxxxxxxxxxx>

--
Cheers
~ Vaibhav