checkpatch.pl: Ignore mdelay instead of udelay
PATCH 1/1 checkpatch.pl: Ignore mdelay instead of udelay
Whereas in Linux, on ARM there is the notion of delay operations and mdelay and udelay are not the same, here we just have udelay and mdelay is a trivial wrapper. Tell checkpatch to not complain here.
Reported-by Bhimeswararao Matsa <[email protected]>
Signed-off-by Tom Rini <[email protected]>
--- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+)
.checkpatch.conf +3 -0
@@ -19,6 +19,9 @@ # Not Linux, so we don't recommend usleep_range() over udelay() --ignore USLEEP_RANGE +# We also do not have a functionally different mdelay() and udelay() +--ignore LONG_UDELAY + # Ignore networking block comment style --ignore NETWORKING_BLOCK_COMMENT_STYLE
Signature · 1 line
2.43.0
Quoted 5 lines · Tom Rini
Whereas in Linux, on ARM there is the notion of delay operations and mdelay and udelay are not the same, here we just have udelay and mdelay is a trivial wrapper. Tell checkpatch to not complain here.
Applied to u-boot/next, thanks!
[1/1] checkpatch.pl: Ignore mdelay instead of udelay
commit: 320d1d04eb52d5bf450e93a91788c2dcc9594de3
Signature · 1 line
Tom