kernel/crash_core.c: make __crash_hotplug_lock static
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 10 Jan 2024 05:35:21 +0000 (21:35 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Jan 2024 23:20:47 +0000 (15:20 -0800)
commit4e87ff59cebb53d3ce1333245e64ab7d51ebf118
tree429ab3de6f6cdcc8be98c3f2c95e5cb2f738fe46
parent7ea6ec4c25294e8bc8788148ef854df92ee8dc5e
kernel/crash_core.c: make __crash_hotplug_lock static

sparse warnings:
kernel/crash_core.c:749:1: sparse: sparse: symbol '__crash_hotplug_lock' was not declared. Should it be static?

Fixes: e2a8f20dd8e9 ("Crash: add lock to serialize crash hotplug handling")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401080654.IjjU5oK7-lkp@intel.com/
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/crash_core.c