Hi all,
After merging the arm-soc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/input/touchscreen/ads7846.c: In function 'ads7846_get_props':
drivers/input/touchscreen/ads7846.c:1126:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1126 | pdata->model = (u32)device_get_match_data(dev);
| ^
cc1: all warnings being treated as errors
Caused by commit
8f7913c04f6a ("Input: ads7846 - Fix usage of match data")
I have used the arm-soc tree from next-20230609 for today.
--
Cheers,
Stephen Rothwell
On Tue, Jun 13, 2023 at 2:43 AM Stephen Rothwell <[email protected]> wrote:
> After merging the arm-soc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/input/touchscreen/ads7846.c: In function 'ads7846_get_props':
> drivers/input/touchscreen/ads7846.c:1126:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> 1126 | pdata->model = (u32)device_get_match_data(dev);
> | ^
> cc1: all warnings being treated as errors
There is already a patch, I'm sure it's on its way in:
https://lore.kernel.org/linux-input/[email protected]/
Arnd can you apply this patch to the SoC tree where the cause
(by me) is? It's on top of the OMAP GPIO cleanups.
Yours,
Linus Walleij