This website requires JavaScript.
Explore
Help
Sign In
OrgACRN
/
acrn-hypervisor
mirror of
https://github.com/projectacrn/acrn-hypervisor.git
Watch
1
Star
0
Fork
You've already forked acrn-hypervisor
0
Code
Issues
Releases
Wiki
Activity
b5b22bf98b
acrn-hypervisor
/
.checkpatch.conf
5 lines
95 B
Plaintext
Raw
Normal View
History
Unescape
Escape
HV: checkpatch: add configurations to customize checkpatch.pl ACRN hypervisor follows MISRA-C which has some inconsistencies with the Linux kernel coding style. Namely, * Braces are required even for single-statement blocks. * Zero-initialisers to global variables are allowed. * Line limit is 120 instead of 80. This patch adds a .checkpatch.conf so that checkpatch.pl stops warning on the exceptions above when invoked under the root directory of the acrn-hypervisor repository. The coding style documentation is updated accordingly. Tracked-On: #1557 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-10-23 17:28:40 +08:00
--ignore BRACES
--ignore GLOBAL_INITIALISERS
--ignore INITIALISED_STATIC
checkpatch: fix the line limit back to 120 The checkpatch configuration set by commit 7b06be9 ("HV: checkpatch: add configurations to customize checkpatch.pl") is unintendedly set to 20 (instead of 120). This patch fix the setting to the expected value. Tracked-On: #1557 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-10-26 22:07:55 +08:00
--max-line-length=120