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

Jérôme Pouiller jerome.pouiller at silabs.com
Mon Apr 19 15:55:34 UTC 2021


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




More information about the devel mailing list