qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v23 03/11] usb-ccid: add CCID bus


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH v23 03/11] usb-ccid: add CCID bus
Date: Mon, 28 Mar 2011 20:44:59 +0300

On Mon, Mar 28, 2011 at 5:31 PM, Jes Sorensen <address@hidden> wrote:
> On 03/28/11 16:28, Alon Levy wrote:
>> On Mon, Mar 28, 2011 at 02:01:01PM +0200, Jes Sorensen wrote:
>>> > On 03/23/11 14:19, Alon Levy wrote:
>>>> > > A CCID device is a smart card reader. It is a USB device, defined at 
>>>> > > [1].
>>>> > > This patch introduces the usb-ccid device that is a ccid bus. Next 
>>>> > > patches will
>>>> > > introduce two card types to use it, a passthru card and an emulated 
>>>> > > card.
>>>> > >
>>>> > >  [1] 
>>>> > > http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_Rev110.
>>>> > >
>>>> > > Signed-off-by: Alon Levy <address@hidden>
>>> >
>>> > This looks ok to me now - I noticed that the comments in the header file
>>> > refers to u8/u16/u32 for types, even though the code uses
>>> > uint{8,16,32}_t, but I don't think that warrants a fix.
>> You mean the comments in hw/usb-ccid.c in the descriptor? that's just 
>> shorter.
>
> I wasn't sure if it was a leftover from some of the headers being used
> in the kernel. However I am fine with it - no need to change it, and it
> makes it shorter as you say.

No, u8/u16 etc are only available for Linux. Please use standard
uint8_t etc. See also HACKING 2.1.



reply via email to

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