Re: [PATCH v3 3/9] tests/style: check for mixups of bool constants with int variables

2022-07-13 Thread Daniel P . Berrangé
On Mon, Jul 11, 2022 at 06:24:22PM +0200, Philippe Mathieu-Daudé wrote: > On 7/7/22 18:37, Daniel P. Berrangé wrote: > > The 'true' and 'false' constants should only ever be used with the > > 'bool' type, never 'int'. > > > > Signed-off-by: Daniel P. Berrangé > > --- > > tests/style.yml | 5 +++

Re: [PATCH v3 3/9] tests/style: check for mixups of bool constants with int variables

2022-07-12 Thread Philippe Mathieu-Daudé via
On 7/7/22 18:37, Daniel P. Berrangé wrote: The 'true' and 'false' constants should only ever be used with the 'bool' type, never 'int'. Signed-off-by: Daniel P. Berrangé --- tests/style.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/style.yml b/tests/style.yml index b4e7c

[PATCH v3 3/9] tests/style: check for mixups of bool constants with int variables

2022-07-07 Thread Daniel P . Berrangé
The 'true' and 'false' constants should only ever be used with the 'bool' type, never 'int'. Signed-off-by: Daniel P. Berrangé --- tests/style.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/style.yml b/tests/style.yml index b4e7c6111f..704227d8e9 100644 --- a/tests/style.yml