]> Pileus Git - ~andy/linux/commit
checkpatch: fix networking kernel-doc block comment defect
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:23:59 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:44 +0000 (15:58 -0700)
commit61135e966367eda5056504ffd2f7518eaf77e25b
tree147fa33fb15f77eb5af50ad845ea19ba00f3cae9
parent70dc8a48357ce630d8a76887a9a36f0d34c8caf2
checkpatch: fix networking kernel-doc block comment defect

checkpatch can generate a false positive when inserting a new kernel-doc
block and function above an existing kernel-doc block.

Fix it by checking that the context line is also a newly inserted line.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl