[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/28] qapi: Move uppercase rejection to check_name_lower()
From: |
Eric Blake |
Subject: |
Re: [PATCH 11/28] qapi: Move uppercase rejection to check_name_lower() |
Date: |
Tue, 23 Mar 2021 09:29:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 3/23/21 4:40 AM, Markus Armbruster wrote:
> check_name_lower() is the only user of check_name_str() using
> permit_upper=False. Move the associated code from check_name_str() to
> check_name_lower(), and drop the parameter.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> scripts/qapi/expr.py | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
>
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
- [PATCH 00/28] qapi: Enforce naming rules, Markus Armbruster, 2021/03/23
- [PATCH 01/28] qapi/pragma: Tidy up after removal of deprecated commands, Markus Armbruster, 2021/03/23
- [PATCH 11/28] qapi: Move uppercase rejection to check_name_lower(), Markus Armbruster, 2021/03/23
- [PATCH 03/28] tests/qapi-schema: Rework comments on longhand member definitions, Markus Armbruster, 2021/03/23
- Re: [PATCH 03/28] tests/qapi-schema: Rework comments on longhand member definitions, Eric Blake, 2021/03/23
- Re: [PATCH 03/28] tests/qapi-schema: Rework comments on longhand member definitions, John Snow, 2021/03/23
- [PATCH 02/28] tests/qapi-schema: Drop redundant flat-union-inline test, Markus Armbruster, 2021/03/23
- [PATCH 09/28] qapi: Lift enum-specific code out of check_name_str(), Markus Armbruster, 2021/03/23