]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-page-isolation.h: fix most coding style issues
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 Nov 2024 06:55:02 +0000 (07:55 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 Nov 2024 06:57:11 +0000 (07:57 +0100)
commitc204394b1b5cecf3c88d740c6c1f0c61bb257541
treeed7a593d08f4b827380684abcbff7c144542fff3
parentbcaa65d5aaf8defeaa36ca9191f54322582d9a95
ras-page-isolation.h: fix most coding style issues

Fix several checkpatch.pl warnings:

ras-page-isolation.h:50: WARNING:SPACING: missing space after enum definition
ras-page-isolation.h:79: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
ras-page-isolation.h:80: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
ras-page-isolation.h:96: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
ras-page-isolation.h:119: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'

It should be noticed that this warning was not addressed,
as it seems to be a false-positive:
ras-page-isolation.h:96: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
ras-page-isolation.h