From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424030AbcKAMJU (ORCPT ); Tue, 1 Nov 2016 08:09:20 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54103 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422748AbcKAMJP (ORCPT ); Tue, 1 Nov 2016 08:09:15 -0400 From: Borislav Petkov To: Tony Luck Cc: linux-edac , X86 ML , LKML Subject: [RFC PATCH 1/3] notifiers: Document notifier priority Date: Tue, 1 Nov 2016 13:09:09 +0100 Message-Id: <20161101120911.13163-2-bp@alien8.de> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161101120911.13163-1-bp@alien8.de> References: <20161101120911.13163-1-bp@alien8.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov I always forget which is highest priority so document it. Signed-off-by: Borislav Petkov --- 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