qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] hw/usb/ccid: Make ccid_card_init() take an e


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH v3] hw/usb/ccid: Make ccid_card_init() take an error parameter
Date: Fri, 12 Jan 2018 14:19:44 +0100
User-agent: NeoMutt/20171215

On Mon, Dec 25, 2017 at 03:50:37PM +0800, Mao Zhongyi wrote:
> Replace init() of CCIDCardClass with realize, then convert
> ccid_card_init(), ccid_card_initfn() and it's callbacks to
> take an Error** in ordor to report the error more clearly.
> 
> Cc: Gerd Hoffmann <address@hidden>
> Cc: Marc-André Lureau <address@hidden>
> Cc: Cao jin <address@hidden>
> 
> Signed-off-by: Mao Zhongyi <address@hidden>
> Signed-off-by: Cao jin <address@hidden>
> ---
> v3:
>   add 'qapi/error.h' header file.
> 
>  hw/usb/ccid-card-emulated.c   | 44 
> +++++++++++++++++++++----------------------
>  hw/usb/ccid-card-passthru.c   | 12 ++++++------
>  hw/usb/ccid.h                 |  2 +-
>  hw/usb/dev-smartcard-reader.c | 34 ++++++++++++++++++---------------
>  4 files changed, 48 insertions(+), 44 deletions(-)

Patch added to queue.

thanks,
  Gerd



reply via email to

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