Commit e90f6590219a0082618b9b6828458b1c74f37cc0

Authored by Nicolas Palix
Committed by Michal Marek
1 parent 3c90841767

Coccinelle: Use new comment format to explain kfree.cocci

Use new comment format to separate proposed commit message
and information about generated false positives

Signed-off-by: Nicolas Palix <npalix.work@gmail.com>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>

Showing 1 changed file with 5 additions and 4 deletions Side-by-side Diff

scripts/coccinelle/free/kfree.cocci
1   -/// Find a use after free. Values of variables may imply that some
2   -/// execution paths are not possible, resulting in false positives.
3   -/// Another source of false positives are macros such as
4   -/// SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument
  1 +/// Find a use after free.
  2 +//# Values of variables may imply that some
  3 +//# execution paths are not possible, resulting in false positives.
  4 +//# Another source of false positives are macros such as
  5 +//# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument
5 6 ///
6 7 // Confidence: Moderate
7 8 // Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2.