Re: [PATCH] scripts: coccinelle: boolinit: drop warnings on named constants

2019-01-05 Thread Masahiro Yamada
On Sat, Dec 29, 2018 at 10:14 PM Julia Lawall wrote: > > Coccinelle doesn't always have access to the values of named > (#define) constants, and they may likely often be bound to true > and false values anyway, resulting in false positives. So stop > warning about them. > > Signed-off-by: Julia L

[PATCH] scripts: coccinelle: boolinit: drop warnings on named constants

2018-12-28 Thread Julia Lawall
Coccinelle doesn't always have access to the values of named (#define) constants, and they may likely often be bound to true and false values anyway, resulting in false positives. So stop warning about them. Signed-off-by: Julia Lawall --- scripts/coccinelle/misc/boolinit.cocci |5 + 1