Skip to contentSkip to conversation

.checkpatch.conf: ignore udelay->usleep_range warnings

PATCH In review Matt Porter 2 participants 2 messages Mar 15, 2013 – Mar 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .checkpatch.conf: ignore udelay->usleep_range warnings

usleep_range() is a Linux facility, ignore it when udelay() is encountered.

---
 .checkpatch.conf |    3 +++
 1 file changed, 3 insertions(+)
.checkpatch.conf +3 -0
index 38386b3..d88af57 100644
@@ -15,3 +15,6 @@
 
 # enable more tests
 --strict
+
+# Not Linux, so we don't recommend usleep_range() over udelay()
+--ignore USLEEP_RANGE
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Matt Porter

usleep_range() is a Linux facility, ignore it when udelay() is encountered.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130327/6af002ce/attachment.pgp>