X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=extras%2Fcheckpatch.pl;h=7b2d29b0b6695a648fefe40b71fd8c5c267f3bc0;hp=4d2c7dfdaabd44abd21e53072eee8f8f884890e8;hb=7a6dd8dde9ea347b5dedd7a712921ca1af1eba50;hpb=41ab1dbeff0f04afc0820bada2c1e83a35dda50a diff --git a/extras/checkpatch.pl b/extras/checkpatch.pl index 4d2c7dfda..7b2d29b0b 100755 --- a/extras/checkpatch.pl +++ b/extras/checkpatch.pl @@ -3198,7 +3198,7 @@ sub process { $herectx .= raw_line($linenr, $n) . "\n"; } - WARN("BRACES", + WARN("BRACES_SINGLE_STMT", "braces {} are not necessary for single statement blocks\n" . $herectx); } }