Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

From: Steven Rostedt
Date: Mon Mar 07 2016 - 14:11:12 EST


On Mon, 7 Mar 2016 10:04:21 -0800
Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:


> > Exactly. The compiler may get away with this in userspace (maybe), but
> > for the kernel, it is definitely a show stopper. Especially if it knows
> > that an asm() may be called.
>
> It's broken for user code that fiddles with AC, too.

Which is why I added the "(maybe)" ;-)

-- Steve