[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/25] qapi: Reorder check_FOO() parameters for consistency
From: |
Eric Blake |
Subject: |
Re: [PATCH 08/25] qapi: Reorder check_FOO() parameters for consistency |
Date: |
Tue, 24 Sep 2019 10:41:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 9/24/19 8:28 AM, Markus Armbruster wrote:
> Most check_FOO() take the thing being checked as first argument.
> check_name(), check_type(), check_known_keys() don't. Clean that up.
>
> While there, drop a "Todo" comment that should have been dropped in
> commit 87adbbffd4 "qapi: add a dictionary form for TYPE".
>
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
> scripts/qapi/common.py | 80 ++++++++++++++++++++----------------------
> 1 file changed, 39 insertions(+), 41 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH 05/25] qapi: Clean up member name case checking, (continued)
- [PATCH 23/25] qapi: Improve reporting of missing documentation comment, Markus Armbruster, 2019/09/24
- [PATCH 09/25] qapi: Improve reporting of invalid name errors, Markus Armbruster, 2019/09/24
- [PATCH 25/25] qapi: Improve source file read error handling, Markus Armbruster, 2019/09/24
- [PATCH 08/25] qapi: Reorder check_FOO() parameters for consistency, Markus Armbruster, 2019/09/24
- Re: [PATCH 08/25] qapi: Reorder check_FOO() parameters for consistency,
Eric Blake <=
- [PATCH 14/25] qapi: Plumb info to the QAPISchemaMember, Markus Armbruster, 2019/09/24
- [PATCH 04/25] qapi: Prefix frontend errors with an "in definition" line, Markus Armbruster, 2019/09/24
- [PATCH 21/25] qapi: Avoid redundant definition references in error messages, Markus Armbruster, 2019/09/24
- [PATCH 06/25] qapi: Change frontend error messages to start with lower case, Markus Armbruster, 2019/09/24