[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: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RESEND PATCH v2 3/4] hw/audio: QOM'ify intel-hda |
Date: |
Wed, 11 May 2016 13:27:00 +0200 |
> 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
- Re: [Qemu-devel] [RESEND PATCH v2 3/4] hw/audio: QOM'ify intel-hda,
Gerd Hoffmann <=