[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RESEND PATCH v2 3/4] hw/audio: QOM'ify intel-hda
From: |
xiaoqiang zhao |
Subject: |
Re: [Qemu-devel] [RESEND PATCH v2 3/4] hw/audio: QOM'ify intel-hda |
Date: |
Wed, 11 May 2016 19:47:20 +0800 |
在 2016年5月11日,19:27,Gerd Hoffmann <address@hidden> 写道:
>> bus->next_cad = dev->cad + 1;
>> - return cdc->init(dev);
>> + if (cdc->init(dev) != 0)
>> + error_setg(errp, "HDA audio init failed.");
>
> === checkpatch complains ===
> WARNING: braces {} are necessary for all arms of this statement
> #25: FILE: hw/audio/intel-hda.c:67:
> + if (cdc->init(dev) != 0)
> [...]
>
> cheers,
> Gerd
>
>
Thanks ,fix in the next version.