From: Nadav Amit Date: Mon, 22 Oct 2018 04:45:48 +0000 (-0700) Subject: kgdb: fix comment regarding static function X-Git-Tag: for-linus-2019-09-27~63^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d8a050f5a3e8242242df6430d5980c142350e461;p=linux-block.git kgdb: fix comment regarding static function The comment that says that module_event() is not static is clearly wrong. Signed-off-by: Nadav Amit Signed-off-by: Daniel Thompson --- diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index 5cc608de6883..10f1187b3907 100644 --- a/kernel/debug/debug_core.c +++ b/kernel/debug/debug_core.c @@ -787,11 +787,8 @@ out: } /* - * GDB places a breakpoint at this function to know dynamically - * loaded objects. It's not defined static so that only one instance with this - * name exists in the kernel. + * GDB places a breakpoint at this function to know dynamically loaded objects. */ - static int module_event(struct notifier_block *self, unsigned long val, void *data) {