Re: [PATCH] staging: wfx: silence symbol 'wfx_get_ps_timeout' was not declared warning

From: Jérôme Pouiller
Date: Mon Apr 19 2021 - 11:55:46 EST


On Monday 19 April 2021 17:33:48 CEST Ashish Kalra wrote:
>
> Upon running sparse, "warning: symbol 'wfx_get_ps_timeout' was not declared.
> Should it be static?" and "warning: symbol 'wfx_update_pm' was not declared.
> Should it be static?" is brought to notice for this file. static keyword
> should be added to prevent this warning. let's add it to make it cleaner and
> silence the Sparse warning.

Hi Ashish,

Thank you for your contribution.

It seems that this issue is already fixed by commit ce59858bbc10 "staging:
wfx: make methods 'wfx_get_ps_timeout' and 'wfx_update_pm' static" (merged
in master in version 5.8). Can you check you are working on the last tree?


--
Jérôme Pouiller