summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMathieu Malaterre2018-06-06 21:42:32 +0200
committerThomas Gleixner2018-11-06 21:58:00 +0100
commit81bd415c91eb966118d773dddf254aebf3022411 (patch)
tree89992d57761f60ea2e7e2e43f0fa0a5232775941 /kernel
parentresource/docs: Fix new kernel-doc warnings (diff)
downloadkernel-qcow2-linux-81bd415c91eb966118d773dddf254aebf3022411.tar.gz
kernel-qcow2-linux-81bd415c91eb966118d773dddf254aebf3022411.tar.xz
kernel-qcow2-linux-81bd415c91eb966118d773dddf254aebf3022411.zip
watchdog/core: Add missing prototypes for weak functions
The split out of the hard lockup detector exposed two new weak functions, but no prototypes for them, which triggers the build warning: kernel/watchdog.c:109:12: warning: no previous prototype for ‘watchdog_nmi_enable’ [-Wmissing-prototypes] kernel/watchdog.c:115:13: warning: no previous prototype for ‘watchdog_nmi_disable’ [-Wmissing-prototypes] Add the prototypes. Fixes: 73ce0511c436 ("kernel/watchdog.c: move hardlockup detector to separate file") Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Babu Moger <babu.moger@oracle.com> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20180606194232.17653-1-malat@debian.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions