summaryrefslogtreecommitdiffstats
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2018-10-21 21:45:48 -0700
committerDaniel Thompson <daniel.thompson@linaro.org>2019-09-03 11:19:41 +0100
commitd8a050f5a3e8242242df6430d5980c142350e461 (patch)
tree468c20efd4760f4ffcd848e1e50b727411081699 /kernel/debug/debug_core.c
parent635714312e6a515de2e78e74bf8d5b10593a4dbf (diff)
downloadlinux-d8a050f5a3e8242242df6430d5980c142350e461.tar.bz2
kgdb: fix comment regarding static function
The comment that says that module_event() is not static is clearly wrong. Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'kernel/debug/debug_core.c')
-rw-r--r--kernel/debug/debug_core.c5
1 files changed, 1 insertions, 4 deletions
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)
{