From 10ac19ba0594286fd0079710e795b4e0920280e6 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 13 May 2014 16:03:37 +0300 Subject: [PATCH] unconstant_macros: add VM_SOFTDIRTY The value of this macro depends on the config. This silences the following false positive: fs/proc/task_mmu.c:769 clear_refs_test_walk() warn: bitwise AND condition is false here 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 2553c17a..d16d3a05 100644 --- a/smatch_data/kernel.unconstant_macros +++ b/smatch_data/kernel.unconstant_macros @@ -1,5 +1,6 @@ X86_VM_MASK VM_GROWSUP +VM_SOFTDIRTY UBIFS_BLOCKS_PER_PAGE DYNTICK_TASK_NEST_MASK ARCH_SHF_SMALL -- 2.11.4.GIT