]> git.proxmox.com Git - mirror_qemu.git/commit - CODING_STYLE.rst
CODING_STYLE, checkpatch: update line length rules
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Sep 2015 09:53:02 +0000 (11:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Aug 2016 10:22:33 +0000 (12:22 +0200)
commit8fbe3d1fcfa16c543f49f24e7cdfbf0024459341
tree73348f3bfa71549a15327f38cf591e35e3f37956
parent93eb8e31f38b3eb612e522c62e8932d7fd576ff9
CODING_STYLE, checkpatch: update line length rules

Line lengths above 80 characters do exist.  They are rare, but
they happen from time to time.  An ignored rule is worse than an
exception to the rule, so do the latter.

Some on the list expressed their preference for a soft limit that
is slightly lower than 80 characters, to account for extra characters
in unified diffs (including three-way diffs) and for email quoting.
However, there was no consensus on this so keep the 80-character
soft limit and add a hard limit at 90.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
CODING_STYLE
scripts/checkpatch.pl