[PROBLEM linux-next] drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030().
From: Mirsad Todorovac
Date: Sat Jul 06 2024 - 19:54:25 EST
Hi,
This is the result of testing randconfig with KCONFIG_SEED=0xEE7AB52F in next-20240703 vanilla tree on
Ubuntu 22.04 LTS. GCC used is gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0.
The particular warning is as follows:
drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030(). Prototype was for PWR_PWRON_IRQ() instead
The offending line was brought with the commit 68d8bf0436001.
23 #include <linux/module.h>
24 #include <linux/init.h>
25 #include <linux/kernel.h>
26 #include <linux/errno.h>
27 #include <linux/input.h>
28 #include <linux/interrupt.h>
29 #include <linux/of.h>
30 #include <linux/platform_device.h>
31 #include <linux/mfd/twl.h>
32
33 #define PWR_PWRON_IRQ (1 << 0)
34
This time I really cannot tell what is confusing the compiler (GCC 12.3.0).
As we know, warnings might be a sign that something is wrong which I cannot see, but you might.
Best regards,
Mirsad Todorovac