qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] input: mouse_set should check input device type


From: Hani Benhabiles
Subject: Re: [Qemu-devel] [PATCH] input: mouse_set should check input device type.
Date: Mon, 31 Mar 2014 23:10:37 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Mar 31, 2014 at 02:45:49PM +0200, Markus Armbruster wrote:
> Gerd Hoffmann <address@hidden> writes:
> 
> >> +        if (!(s->handler->mask & (INPUT_EVENT_MASK_REL |
> >> +                                  INPUT_EVENT_MASK_ABS))) {
> >> +            monitor_printf(mon, "Input device '%s' is not a mouse",
> >> +                           s->handler->name);
> >
> > That should be error_report (I think, Markus?).
> 
> Yes, please.  Same for the "Mouse at given index not found\n" message
> further down.  Note that error_report() does *not* want \n.

Ok, thanks.

I just followed the other monitor_printf() usage for consistency. v2 sent.

> 
> >
> > Otherwise the patch is fine.
> >
> > cheers,
> >   Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]