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

From: Tzung-Bi Shih
Date: Sun Nov 16 2025 - 21:44:03 EST


On Sat, Nov 15, 2025 at 10:55:46AM -0500, Waiman Long wrote:
> On 11/14/25 1:27 AM, Tzung-Bi Shih wrote:
> > 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.

Thanks. For some reason, my testing environment and compiler didn't warn
about this. Will fix it in the next version.