Re: mainline build failure due to ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")

From: Linux regression tracking (Thorsten Leemhuis)
Date: Wed Aug 30 2023 - 15:32:34 EST


On 30.08.23 13:29, Sudip Mukherjee (Codethink) wrote:
>
> The latest mainline kernel branch fails to build alpha, csky and s390
> allmodconfig with the error:

Thx for the report and involving regzbot.

FWIW, 0day bot noticed this earlier and Charles Keepax (now CCed) afaics
even submitted a fix a bit more than a week ago, but that didn't get any
further it seems:
https://lore.kernel.org/all/202308212225.fGjY1rr6-lkp@xxxxxxxxx/
https://lore.kernel.org/all/20230822114914.340359-1-ckeepax@xxxxxxxxxxxxxxxxxxxxx/

Ciao, Thorsten

> drivers/mfd/cs42l43.c:1138:12: error: 'cs42l43_runtime_resume' defined but not used [-Werror=unused-function]
> 1138 | static int cs42l43_runtime_resume(struct device *dev)
> | ^~~~~~~~~~~~~~~~~~~~~~
> drivers/mfd/cs42l43.c:1124:12: error: 'cs42l43_runtime_suspend' defined but not used [-Werror=unused-function]
> 1124 | static int cs42l43_runtime_suspend(struct device *dev)
> | ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/mfd/cs42l43.c:1106:12: error: 'cs42l43_resume' defined but not used [-Werror=unused-function]
> 1106 | static int cs42l43_resume(struct device *dev)
> | ^~~~~~~~~~~~~~
> drivers/mfd/cs42l43.c:1076:12: error: 'cs42l43_suspend' defined but not used [-Werror=unused-function]
> 1076 | static int cs42l43_suspend(struct device *dev)
> | ^~~~~~~~~~~~~~~
>
> git bisect pointed to ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
>
> I will be happy to test any patch or provide any extra log if needed.

P.S.:

#regzbot monitor:
https://lore.kernel.org/all/20230822114914.340359-1-ckeepax@xxxxxxxxxxxxxxxxxxxxx/
#regzbot monitor:
https://lore.kernel.org/all/202308212225.fGjY1rr6-lkp@xxxxxxxxx/
#regzbot fix: mfd: cs42l43: Use correct macro for new-style PM runtime ops