[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 37/41] [automated] Use DECLARE_*CHECKER* when possible (--for
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH 37/41] [automated] Use DECLARE_*CHECKER* when possible (--force mode) |
Date: |
Mon, 17 Aug 2020 13:14:36 -0400 |
On Mon, Aug 17, 2020 at 05:29:38PM +0100, Daniel P. Berrangé wrote:
> On Thu, Aug 13, 2020 at 06:26:21PM -0400, Eduardo Habkost wrote:
> > Separate run of the script using the --force flag, for the cases
> > where the typedef wasn't found in the same header.
>
> This scenario feels a little suspicious to me.
>
> A bunch of these are caused because the typedef is put
> into qemu/typedefs.h.
>
> Others simply look wrong.
>
> I wonder if we're better off fixing all these exceptions
> so the typedef is in the expected place.
Yeah, it is a good idea to take a closer look on each of those
cases. Many cases changed using --force had caused breakage, and
originated the fixes at the beginning of this series.
I will change the script to at least look at typedefs.h, so we
know which of those 59 cases are truly unsafe. Maybe the list
that requires manual review will become much shorter.
--
Eduardo
- [PATCH 29/41] qom: DECLARE_*_CHECKERS macros, (continued)
- [PATCH 29/41] qom: DECLARE_*_CHECKERS macros, Eduardo Habkost, 2020/08/13
- [PATCH 31/41] qom: TYPE_INFO macro, Eduardo Habkost, 2020/08/13
- [PATCH 33/41] [automated] Delete duplicate QOM typedefs, Eduardo Habkost, 2020/08/13
- [PATCH 32/41] codeconverter: script for automating QOM code cleanups, Eduardo Habkost, 2020/08/13
- [PATCH 39/41] [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible, Eduardo Habkost, 2020/08/13
- [PATCH 37/41] [automated] Use DECLARE_*CHECKER* when possible (--force mode), Eduardo Habkost, 2020/08/13
- [PATCH 38/41] [automated] Use OBJECT_DECLARE_TYPE where possible, Eduardo Habkost, 2020/08/13
- [PATCH 40/41] crypto: use QOM macros for declaration/definition of secret types, Eduardo Habkost, 2020/08/13
- [PATCH 34/41] [automated] Use TYPE_INFO macro, Eduardo Habkost, 2020/08/13
- [PATCH 41/41] crypto: use QOM macros for declaration/definition of TLS creds types, Eduardo Habkost, 2020/08/13
- [PATCH 36/41] [automated] Use DECLARE_*CHECKER* macros, Eduardo Habkost, 2020/08/13
- [PATCH 35/41] [automated] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/08/13
- [PATCH 28/41] qom: Allow class type name to be specified in OBJECT_DECLARE*, Eduardo Habkost, 2020/08/13