On Mon, Nov 30, 2026 at 09:35:53PM +0800, Pengpeng Hou wrote: > pwm-sti.c initializes an MMIO regmap using devm_regmap_init_mmio(), > but PWM_STI does not select REGMAP_MMIO. The driver can therefore be > enabled without the required register-transport implementation and > fail to build. > > Select REGMAP_MMIO so the backend is enabled at the linkage level > required by this consumer, rather than relying on another driver to > pull it in. > > The issue was found by our static-analysis tool and manually reviewed. > > Fixes: 378fe115d19d ("pwm: sti: Add new driver for ST's PWM IP") > Signed-off-by: Pengpeng Hou > --- > AI assistance: gpt 5 (patch preparation and review). I assume in combination with "manually reviewed" from the commit log this means both a human and GPT-5 reviewed the patch and not "was reviewed by manually prompting GPT-5" or "GPT-5 found an MCP endpoint to my brain" :-D Anyhow, to be sure, I created a .config with PWM_STI=y and REGMAP_MMIO=n and it failed to build indeed. I'm surprised this wasn't reported earlier already. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next Thanks Uwe