Content-Type: multipart/mixed; boundary="===============6043000776105538261==" MIME-Version: 1.0 From: kajoljain To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH] drivers/nvdimm: nvdimm_pmu_free_hotplug_memory() can be static Date: Sat, 04 Sep 2021 12:09:59 +0530 Message-ID: <2d314a25-8972-3a01-9402-d43e41177a8f@linux.ibm.com> In-Reply-To: <20210903151941.GA23182@a0af9ae1a611> List-Id: --===============6043000776105538261== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 9/3/21 8:49 PM, kernel test robot wrote: > drivers/nvdimm/nd_perf.c:159:6: warning: symbol 'nvdimm_pmu_free_hotplug_= memory' was not declared. Should it be static? > = > Reported-by: kernel test robot > Signed-off-by: kernel test robot > --- > nd_perf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/drivers/nvdimm/nd_perf.c b/drivers/nvdimm/nd_perf.c > index 4c49d1bc2a3c6..b129e5e702d59 100644 > --- a/drivers/nvdimm/nd_perf.c > +++ b/drivers/nvdimm/nd_perf.c > @@ -156,7 +156,7 @@ static int nvdimm_pmu_cpu_hotplug_init(struct nvdimm_= pmu *nd_pmu) > return 0; > } > = > -void nvdimm_pmu_free_hotplug_memory(struct nvdimm_pmu *nd_pmu) > +static void nvdimm_pmu_free_hotplug_memory(struct nvdimm_pmu *nd_pmu) > { > cpuhp_state_remove_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); > cpuhp_remove_multi_state(nd_pmu->cpuhp_state); > = Hi, Thanks for reporting this issue, I will merge it in my followup patchset. Thanks, Kajol Jain --===============6043000776105538261==--