[PATCH] locking/lockdep: Fix UBSAN warnings

Peter Zijlstra peterz at infradead.org
Wed Jun 12 00:34:25 PDT 2019

On Wed, Jun 12, 2019 at 01:49:04PM +0800, Kobe Wu wrote:
> Fix complaints from UBSAN about signed integer overflow.
> ========================================================================
> UBSAN: Undefined behaviour in kernel/locking/lockdep.c:2998:3
> signed integer overflow:

I don't mind the patch, but this is an UBSAN bug and cannot therefore be
a reason.

More information about the Linux-mediatek mailing list