From 3db2b11ed17de4e7d7f2c511336984ec43727808 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 7 Mar 2014 11:49:12 +0300 Subject: [PATCH] unconstant_macros: allow (foo & _PAGE_NX) even when _PAGE_NX is zero _PAGE_NX is a new macro and depending how your kernel is configured then it can be zero or a bit mask. Doing a bitwise AND with it is fine. Signed-off-by: Dan Carpenter --- smatch_data/kernel.unconstant_macros | 1 + 1 file changed, 1 insertion(+) diff --git a/smatch_data/kernel.unconstant_macros b/smatch_data/kernel.unconstant_macros index 89e9d078..2553c17a 100644 --- a/smatch_data/kernel.unconstant_macros +++ b/smatch_data/kernel.unconstant_macros @@ -5,3 +5,4 @@ DYNTICK_TASK_NEST_MASK ARCH_SHF_SMALL SLAB_NOTRACK FAULT_FLAG_TRANSHUGE +_PAGE_NX -- 2.11.4.GIT