summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-08-27 12:38:36 -0600
committerTom Rini <[email protected]>2025-09-10 10:39:24 -0600
commit320d1d04eb52d5bf450e93a91788c2dcc9594de3 (patch)
treeb8f7277f0865d7729e0554e6e703b66cf1de8934
parent8c599da5060c2bb4c085a7d92794c8134f61ef25 (diff)
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]>
-rw-r--r--.checkpatch.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index c368d414726..0827f347f6e 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -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