[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] keyboard:fix ps2 keyboard can't use
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] keyboard:fix ps2 keyboard can't use |
Date: |
Wed, 06 May 2015 11:05:01 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 05/06/2015 11:03 AM, Eric Blake wrote:
> On 05/06/2015 10:20 AM, address@hidden wrote:
>
> Missing a 'v2' in the subject line (hint: git send-email -v2)
>
>> +++ b/hw/input/pckbd.c
>> @@ -207,6 +207,8 @@ static uint64_t kbd_read_status(void *opaque, hwaddr
>> addr,
>> KBDState *s = opaque;
>> int val;
>> val = s->status;
>> + if(s->write-cmd == KBD_CCMD_KBD_ENABLE)
>
> Your patch is fatally flawed:
Oh, and also your patch fails scripts/checkpatch.pl due to missing {}
around the 'if' body. Also something we mention on:
> PLEASE read http://wiki.qemu.org/Contribute/SubmitAPatch
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature