linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mirsad Todorovac <mtodorovac69@gmail.com>
To: linux-input@vger.kernel.org
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org, Felipe Balbi <me@felipebalbi.com>,
	Peter De Schrijver <peter.de-schrijver@nokia.com>
Subject: [PROBLEM linux-next] drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030().
Date: Sun, 7 Jul 2024 01:54:12 +0200	[thread overview]
Message-ID: <51a4022c-e5a7-48c2-8c87-0e26a1b7b406@gmail.com> (raw)

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

             reply	other threads:[~2024-07-06 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-06 23:54 Mirsad Todorovac [this message]
2024-07-08 17:00 ` [PROBLEM linux-next] drivers/input/misc/twl4030-pwrbutton.c:33: warning: expecting prototype for twl4030() Dmitry Torokhov
2024-07-08 18:04   ` Mirsad Todorovac
2024-07-09 18:52     ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51a4022c-e5a7-48c2-8c87-0e26a1b7b406@gmail.com \
    --to=mtodorovac69@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@felipebalbi.com \
    --cc=peter.de-schrijver@nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).