[RFC PATCH 1/3] notifiers: Document notifier priority

From: Borislav Petkov
Date: Tue Nov 01 2016 - 08:09:40 EST


From: Borislav Petkov <bp@xxxxxxx>

I always forget which is highest priority so document it.

Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
include/linux/notifier.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index 4149868de4e6..6bd3c691e562 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -55,6 +55,7 @@ typedef int (*notifier_fn_t)(struct notifier_block *nb,
struct notifier_block {
notifier_fn_t notifier_call;
struct notifier_block __rcu *next;
+ /* Notifier priority: numerically higher gets executed earlier */
int priority;
};

--
2.10.0