Re: linux-next: build failure after merge of the regulator tree

From: Vaittinen, Matti
Date: Tue Nov 23 2021 - 03:33:50 EST


Hi dee Ho peeps,

On 11/23/21 09:41, Stephen Rothwell wrote:
> Hi all,
>
> After merging the regulator tree, today's linux-next build (s390
> allmodconfig) failed like this:
>
> include/Linux/mfd/rohm-generic.h:93:12: error: 'rohm_regulator_set_voltage_sel_restricted' defined but not used [-Werror=unused-function]
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 8b6e88555971 ("regulator: rohm-regulator: add helper for restricted voltage setting")


Ouch. The stub in header should be inlined. Sorry for that. I'll send
incremental patch to Mark - please let me know if that's not sufficient?

Best Regards
-- Matti Vaittinen

--
The Linux Kernel guy at ROHM Semiconductors

Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~ this year is the year of a signature writers block ~~