Re: [PATCH] scripts/gdb: Fix importing SB_ constants
From: Brendan Jackman
Date: Tue Jun 27 2023 - 08:47:00 EST
On Tue, 27 Jun 2023 at 14:43, Brendan Jackman <jackmanb@xxxxxxxxxx> wrote:
>
> Commit f15afbd34d8f ("fs: fix undefined behavior in bit shift for
> SB_NOUSER") switched these defines over to use BIT which when,
> !__ASSEMBLY__, expands to something equivalent to 1UL << x. The UL
> suffix isn't valid python.
>
> Luckily we already seem to have a facility in the preprocessed code to
> handle cases like this.
Oh. After sending I realised my tree was stale! This was already fixed
by Florian in 6a59cb5158bff1.
Please ignore :)