2017-12-21 10:37 GMT+08:00 weiping zhang :
> 2017-12-20 23:53 GMT+08:00 Cornelia Huck :
>> On Wed, 20 Dec 2017 12:26:25 +0800
>> weiping zhang wrote:
>>
>> [you used a different mail address in your From: than in your s-o-b:;
>> same for
2017-12-20 23:53 GMT+08:00 Cornelia Huck :
> On Wed, 20 Dec 2017 12:26:25 +0800
> weiping zhang wrote:
>
> [you used a different mail address in your From: than in your s-o-b:;
> same for the other patches]
>
>> In order to make caller do a simple cleanup,
On Wed, 20 Dec 2017 12:26:25 +0800
weiping zhang wrote:
[you used a different mail address in your From: than in your s-o-b:;
same for the other patches]
> In order to make caller do a simple cleanup, we split device_register
> into device_initialize and device_add.
In order to make caller do a simple cleanup, we split device_register
into device_initialize and device_add. device_initialize always sucess,
the caller can always use put_device when fail to register virtio_device
no matter fail at ida_simple_get or at device_add.
Signed-off-by: weiping zhang