On Thu, Oct 17, 2024 at 2:55 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > On Thu, Oct 17, 2024 at 12:20 PM Clement LE GOFFIC > <clement.legoffic@xxxxxxxxxxx> wrote: > > > > + add r2, ip, lsr #KASAN_SHADOW_SCALE_SHIFT > (...) > > While ARM TRM says that if Rd is the same of Rn then it can be omitted, > > such syntax causes error on my build. > > Looking around for such syntax in the kernel, this line should be : > > add r2, r2, ip, lsr #KASAN_SHADOW_SCALE_SHIFT > > Yeah clearly my compilers allowed it :/ > > I changed it to the archaic version, will repost as v3. I think I meant the canonical version.. anglo-saxon is sometimes not my strong card. Yours, Linus Walleij