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

From: Stephen Rothwell
Date: Tue Aug 16 2022 - 20:07:35 EST


Hi all,

On Wed, 17 Aug 2022 10:00:07 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the input tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/input/misc/ibm-panel.c:195:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
> 195 | .remove = ibm_panel_remove,
> | ^~~~~~~~~~~~~~~~
> drivers/input/misc/ibm-panel.c:195:19: note: (near initialization for 'ibm_panel_driver.remove')
>
> Caused by commit
>
> 95331e91e9da ("Input: Add IBM Operation Panel driver")
>
> interacting with commit
>
> ed5c2f5fd10d ("i2c: Make remove callback return void")
>
> from v6.0-rc1.

Actually it is from the i2c tree and not in Linus' tree. Sorry about
that.

--
Cheers,
Stephen Rothwell

Attachment: pgpJgMMaXB_wl.pgp
Description: OpenPGP digital signature