On Thu, Feb 16, 2023 at 09:17:39PM +0800, wenyang.linux@xxxxxxxxxxx wrote: > + res = wait_event_interruptible_locked_irq( > + ctx->wqh, ULLONG_MAX - ctx->count > ucnt) ? > + -ERESTARTSYS : sizeof(ucnt); You've broken the line here in a weird way. I'd've done it as: res = wait_event_interruptible_locked_irq(ctx->wqh, ULLONG_MAX - ctx->count > ucnt) ? -ERESTARTSYS : sizeof(ucnt)); ... also the patch you've sent here doesn't even compile. Have you tested it?