summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-12-05 16:21:58 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-06 08:56:09 +0100
commit151ab20210367e7774f2caff705ad3aac85ade3e (patch)
tree7148f3f0fa6aa737d5541abfae8deaee64e9dfa9 /common
parent832750116b8c6ea220bf3c1ed682b81b6ec18216 (diff)
downloadbarebox-151ab20210367e7774f2caff705ad3aac85ade3e.tar.gz
barebox-151ab20210367e7774f2caff705ad3aac85ade3e.tar.xz
checkpatch.pl: check for #if 0/#if 1
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1 is present and suggest that they can be removed. Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1") Linux kernel commit. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions