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

From: Sebastian Reichel <[email-masked]>
Date: Wed, 4 Mar 2026 00:02:28 +0100

Hi,

On Tue, Mar 03, 2026 at 01:54:23PM +0000, Mark Brown wrote:
> After merging the battery tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> /tmp/next/build/drivers/power/reset/keystone-reset.c: In function 'rsctrl_probe':
> /tmp/next/build/drivers/power/reset/keystone-reset.c:137:13: error: assignment to 'int' from 'struct sys_off_handler *' makes integer from pointer without a cast [-Wint-conversion]
>   137 |         ret = register_sys_off_handler(SYS_OFF_MODE_RESTART, 128,
>       |             ^
> 
> Caused by commit
> 
>   a065176301754 (power: reset: keystone: Use register_sys_off_handler(SYS_OFF_MODE_RESTART))
> 
> I have used the tree from next-20260302 instead.

Thanks and sorry for the noise. I've rebased the tree and replaced
the patch with an updated version. Apparently my local test config
did not enable that driver, so my own build test was actually a
nop :(

Greetings,

-- Sebastian