Re: [PATCH] lockdep: Add header and footer to surround warning reports

From: Waiman Long

Date: Sat Nov 15 2025 - 10:55:51 EST


On 11/14/25 1:27 AM, Tzung-Bi Shih wrote:
Add header and footer to improve log parsing and automated analysis.
This makes lockdep output easier to interpret.

Signed-off-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
---
kernel/locking/lockdep.c | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 2d4c5bab5af8..af05d30f1545 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -59,6 +59,7 @@
#include <linux/console.h>
#include <linux/kasan.h>
+#include <asm/bugs.h>

It should be "<asm/bug.h> to fix problem reported by the kernel test robot.

Cheers,
Longman