Skip to contentSkip to conversation

linux-next: build failure after merge of the ipmi tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 4, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/char/ipmi/ipmi_ssif.c: In function 'shutdown_ssif':
drivers/char/ipmi/ipmi_ssif.c:1276:9: error: implicit declaration of function 'del_timer_shutdown'; did you mean 'device_shutdown'? [-Werror=implicit-function-declaration]

 1276 |         del_timer_shutdown(&ssif_info->watch_timer);
      |         ^~~~~~~~~~~~~~~~~~
      |         device_shutdown
cc1: all warnings being treated as errors
drivers/char/ipmi/ipmi_msghandler.c: In function 'cleanup_ipmi':
drivers/char/ipmi/ipmi_msghandler.c:5547:17: error: implicit declaration of function 'del_timer_shutdown'; did you mean 'device_shutdown'? [-Werror=implicit-function-declaration]
 5547 |                 del_timer_shutdown(&ipmi_timer);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 device_shutdown

cc1: all warnings being treated as errors

Caused by commit

306ab2918b4c ("timers: ipmi: Use del_timer_shutdown() before freeing timer")

I have used the ipmi tree from next-20221103 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 16 lines · Stephen Rothwell

Hi all,

After merging the ipmi tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/char/ipmi/ipmi_ssif.c: In function 'shutdown_ssif':
drivers/char/ipmi/ipmi_ssif.c:1276:9: error: implicit declaration of function 'del_timer_shutdown'; did you mean 'device_shutdown'? [-Werror=implicit-function-declaration]

 1276 |         del_timer_shutdown(&ssif_info->watch_timer);
      |         ^~~~~~~~~~~~~~~~~~
      |         device_shutdown
cc1: all warnings being treated as errors
drivers/char/ipmi/ipmi_msghandler.c: In function 'cleanup_ipmi':
drivers/char/ipmi/ipmi_msghandler.c:5547:17: error: implicit declaration of function 'del_timer_shutdown'; did you mean 'device_shutdown'? [-Werror=implicit-function-declaration]
 5547 |                 del_timer_shutdown(&ipmi_timer);
      |                 ^~~~~~~~~~~~~~~~~~
      |                 device_shutdown
Quoted 7 lines

cc1: all warnings being treated as errors

Caused by commit

306ab2918b4c ("timers: ipmi: Use del_timer_shutdown() before freeing timer")

I have used the ipmi tree from next-20221103 for today.

That patch shouldn't have gone it, it's fixed now.

Thanks,

-corey