[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/18] hw/audio: Simplify hda audio init
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 03/18] hw/audio: Simplify hda audio init |
Date: |
Mon, 25 Apr 2022 14:35:03 +0100 |
User-agent: |
Mutt/2.1.5 (2021-12-30) |
On Mon, Apr 25, 2022 at 10:21:46AM +0200, Martin Kletzander wrote:
> No return values are used anywhere, so switch the functions to be void
> and add support for error reporting using errp for use in next patches.
Making it 'void' makes sense, but I'm not sure we need the Error **errp
addition, given my comment on patch #13.
>
> Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
> ---
> hw/audio/hda-codec.c | 32 ++++++++++++++++++--------------
> hw/audio/intel-hda.c | 4 +---
> hw/audio/intel-hda.h | 2 +-
> 3 files changed, 20 insertions(+), 18 deletions(-)
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 12/18] hw/ppc: Support machine-default audiodev with fallback, (continued)
- [PATCH 12/18] hw/ppc: Support machine-default audiodev with fallback, Martin Kletzander, 2022/04/25
- [PATCH 02/18] hw/input/tsc210x: Extract common init code into new function, Martin Kletzander, 2022/04/25
- [PATCH 06/18] ui/vnc: Require audiodev=, Martin Kletzander, 2022/04/25
- [PATCH 15/18] audio: Be more strict during audio backend initialisation, Martin Kletzander, 2022/04/25
- [PATCH 03/18] hw/audio: Simplify hda audio init, Martin Kletzander, 2022/04/25
- Re: [PATCH 03/18] hw/audio: Simplify hda audio init,
Daniel P . Berrangé <=
- [PATCH 01/18] hw/audio: Remove -soundhw support, Martin Kletzander, 2022/04/25
- [PATCH 10/18] hw/input/tsc210x.c: Support machine-default audiodev with fallback, Martin Kletzander, 2022/04/25
- [PATCH 08/18] audio: Add easy dummy audio initialiser, Martin Kletzander, 2022/04/25
- [PATCH 07/18] Introduce machine's default-audiodev property, Martin Kletzander, 2022/04/25