OSDN Git Service

checkpatch: Fix whitespace checks for documentation code blocks
authorLluís Vilanova <vilanova@ac.upc.edu>
Wed, 7 Sep 2016 12:49:04 +0000 (14:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 17:09:44 +0000 (19:09 +0200)
commit0cebabd5e8277864ef87b4526cb1c9b3f0c06ee7
treef596a3ab77bcbdafed8e3e3a68492ea9049e7b77
parent89943de17c4e276f2c47f05b4604e8816a6a636c
checkpatch: Fix whitespace checks for documentation code blocks

Prevent blank lines in documentation code blocks to be signalled as
incorrect trailing whitespace.

Code blocks in documentation are 4-column aligned, and blank lines in
them should have exactly 4 columns of trailing whitespace to prevent
QEMU's wiki to render them as separate code blocks.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-Id: <147325254382.22644.5531276787733455773.stgit@fimbulvetr.bsc.es>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
scripts/checkpatch.pl