[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1627640682-14225-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Fri, 30 Jul 2021 18:24:42 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: peterz@...radead.org
Cc: mingo@...hat.com, will@...nel.org, longman@...hat.com,
boqun.feng@...il.com, linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] lockdep/selftests: Fix duplicate included locking-selftest-softirq.h
Clean up the following includecheck warning:
./lib/locking-selftest.c: locking-selftest-softirq.h is included more
than once.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Fixes: cae2ed9aa573 ("[PATCH] lockdep: locking API self tests")
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
lib/locking-selftest.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c
index 161108e..6010445 100644
--- a/lib/locking-selftest.c
+++ b/lib/locking-selftest.c
@@ -1252,7 +1252,6 @@ static void rwsem_ABBA3(void)
#include "locking-selftest-wlock.h"
GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion2_hard_wlock)
-#include "locking-selftest-softirq.h"
#include "locking-selftest-rlock.h"
GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion2_soft_rlock)
@@ -1306,7 +1305,6 @@ static void rwsem_ABBA3(void)
#include "locking-selftest-wlock.h"
GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion3_hard_wlock)
-#include "locking-selftest-softirq.h"
#include "locking-selftest-rlock.h"
GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion3_soft_rlock)
--
1.8.3.1
Powered by blists - more mailing lists