fbfront: Fix no-kbd-event case out_cons shouldn''t even be used. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> diff -r f76e90b4f7ad drivers/xen/fbfront/xenkbd.c --- a/drivers/xen/fbfront/xenkbd.c Tue Feb 12 10:44:33 2008 +0000 +++ b/drivers/xen/fbfront/xenkbd.c Wed Feb 13 15:59:45 2008 +0000 @@ -53,7 +53,7 @@ static irqreturn_t input_handler(int rq, __u32 cons, prod; prod = page->in_prod; - if (prod == page->out_cons) + if (prod == page->in_cons) return IRQ_HANDLED; rmb(); /* ensure we see ring contents up to prod */ for (cons = page->in_cons; cons != prod; cons++) { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Markus Armbruster
2008-Feb-13 17:49 UTC
Re: [Xen-devel] [PATCH] fbfront: Fix no-kbd-event case
Samuel Thibault <samuel.thibault@eu.citrix.com> writes:> fbfront: Fix no-kbd-event case > out_cons shouldn''t even be used. > > Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>You''re right. Stupid typo. [...] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel