checkpatch: adjust to QEMUisms
authorBlue Swirl <blauwirbel@gmail.com>
Thu, 20 Jan 2011 20:58:56 +0000 (20:58 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 20 Jan 2011 20:58:56 +0000 (20:58 +0000)
commit91b712c805e386be2023ae52d19eff682c1fb538
treee3d7e0716eeaff9b9174b51b2c983bd565bbeccc
parentde0bb48fe2f3c67da4662dee1dd78e55f447a8a9
checkpatch: adjust to QEMUisms

Change checkpatch.pl for QEMU use:
 - Root directory detection
 - Forbid tabs
 - Indent at 4 spaces
 - Allow typedefs
 - Enforce brace use even for single statement blocks
 - Don't suggest nonexistent cleanup tools

Mention the script in CODING_STYLE.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
CODING_STYLE
scripts/checkpatch.pl [changed mode: 0644->0755]