[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1aac242c-2d9f-46e6-8c1c-88822c97bfeb@linux.ibm.com>
Date: Mon, 28 Apr 2025 11:43:27 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>, luogengkun@...weicloud.com,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Madhavan Srinivasan <maddy@...ux.ibm.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
dianders@...omium.org, joel.granados@...nel.org, song@...nel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [linux-next]Build Failure: kernel/watchdog.c:936:2: error: too
many arguments
On 28/04/25 4:11 am, Stephen Rothwell wrote:
> Hi all,
>
> On Sat, 26 Apr 2025 20:39:26 +0530 Venkat Rao Bagalkote <venkat88@...ux.ibm.com> wrote:
>> I am observing below build failure on IBM Power8 server with linux-next-20250424 repo.
>>
>> This issue seems to be introduced by the below commit. After reverting the below commit, kernel build is successful.
>>
>> Bad Commit: 6b07f9a0fa41 watchdog: fix watchdog may detect false positive of softlockup
>>
>> Note: To hit this issue, one should first resolve this [1] <https://lore.kernel.org/all/e8bf676e-7bf0-4896-b104-ac75e1b22d2e@linux.ibm.com/>
>>
>> Repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>> Branch: master
>> GCC: 8.5.0 20210514
>> ldd (GNU libc) 2.28
>>
>> Attached is the .config file.
>>
>> Errors:
>>
>> kernel/watchdog.c: In function 'lockup_detector_reconfigure':
>> kernel/watchdog.c:936:2: error: too many arguments to function '__lockup_detector_reconfigure'
>> __lockup_detector_reconfigure(false);
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/watchdog.c:926:13: note: declared here
>> static void __lockup_detector_reconfigure(void)
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/watchdog.c: In function 'lockup_detector_setup':
>> kernel/watchdog.c:940:2: error: too many arguments to function '__lockup_detector_reconfigure'
>> __lockup_detector_reconfigure(false);
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/watchdog.c:926:13: note: declared here
>> static void __lockup_detector_reconfigure(void)
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/watchdog.c: In function 'proc_watchdog_update':
>> kernel/watchdog.c:962:2: error: too many arguments to function '__lockup_detector_reconfigure'
>> __lockup_detector_reconfigure(thresh_changed);
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/watchdog.c:926:13: note: declared here
>> static void __lockup_detector_reconfigure(void)
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> If you happen to fix this, please add below tag.
>>
>> Reported-by: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
> Yeah, the CONFIG_SOFTLOCKUP_DETECTOR unset version of
> __lockup_detector_reconfigure() was not updated :-(
>
> This is now commit
>
> 45c4eb661074 ("watchdog: fix watchdog may detect false positive of softlockup")
>
> in the mm-nonmm-unstable tree.
Thanks Stephen for pointing me to this commit.
Regards,
Venkat.
Powered by blists - more mailing lists