Coccinelle: Use new comment format to explain kfree.cocci
PATCH 3/5 Coccinelle: Use new comment format to explain kfree.cocci
Use new comment format to separate proposed commit message and information about generated false positive
Signed-off-by Nicolas Palix <[email protected]>
Signed-off-by Julia Lawall <[email protected]>
--- scripts/coccinelle/free/kfree.cocci | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
scripts/coccinelle/free/kfree.cocci +5 -4
@@ -1,7 +1,8 @@ -/// Find a use after free. Values of variables may imply that some -/// execution paths are not possible, resulting in false positives. -/// Another source of false positives are macros such as -/// SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument +/// Find a use after free. +//# Values of variables may imply that some +//# execution paths are not possible, resulting in false positives. +//# Another source of false positives are macros such as +//# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument /// // Confidence: Moderate // Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2.
Signature · 1 line
1.7.0.4