]> Git Repo - qemu.git/commit
hw/usb/ccid: Make ccid_card_init() take an error parameter
authorMao Zhongyi <[email protected]>
Thu, 25 Jan 2018 17:14:30 +0000 (14:14 -0300)
committerGerd Hoffmann <[email protected]>
Fri, 26 Jan 2018 06:59:33 +0000 (07:59 +0100)
commitcc847bfd16d894fd8c1a2ce25f31772f6cdbbc74
tree3b7c74e4164cc7d1c15bda1fd13c33fa9f42dade
parent395b95395934785ca86baafd314d0c31b307d16d
hw/usb/ccid: Make ccid_card_init() take an error parameter

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.

Signed-off-by: Mao Zhongyi <[email protected]>
Signed-off-by: Cao jin <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20180125171432[email protected]
[PMD: fixed s->card assignation in ccid_card_realize()]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/ccid-card-emulated.c
hw/usb/ccid-card-passthru.c
hw/usb/ccid.h
hw/usb/dev-smartcard-reader.c
This page took 0.028696 seconds and 4 git commands to generate.