linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PROBLEM linux-next] drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030().
@ 2024-07-06 23:54 Mirsad Todorovac
  2024-07-08 17:00 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Mirsad Todorovac @ 2024-07-06 23:54 UTC (permalink / raw)
  To: linux-input
  Cc: Dmitry Torokhov, linux-kernel, Felipe Balbi, Peter De Schrijver

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-09 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06 23:54 [PROBLEM linux-next] drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030() Mirsad Todorovac
2024-07-08 17:00 ` Dmitry Torokhov
2024-07-08 18:04   ` Mirsad Todorovac
2024-07-09 18:52     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).