* [U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings
@ 2013-03-15 20:43 Matt Porter
2013-03-27 18:48 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Matt Porter @ 2013-03-15 20:43 UTC (permalink / raw)
To: u-boot
usleep_range() is a Linux facility, ignore it when udelay()
is encountered.
Signed-off-by: Matt Porter <mporter@ti.com>
---
.checkpatch.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.checkpatch.conf b/.checkpatch.conf
index 38386b3..d88af57 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -15,3 +15,6 @@
# enable more tests
--strict
+
+# Not Linux, so we don't recommend usleep_range() over udelay()
+--ignore USLEEP_RANGE
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] .checkpatch.conf: ignore udelay->usleep_range warnings
2013-03-15 20:43 [U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings Matt Porter
@ 2013-03-27 18:48 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2013-03-27 18:48 UTC (permalink / raw)
To: u-boot
On Fri, Mar 15, 2013 at 10:43:48AM -0000, Matt Porter wrote:
> usleep_range() is a Linux facility, ignore it when udelay()
> is encountered.
>
> Signed-off-by: Matt Porter <mporter@ti.com>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-27 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 20:43 [U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings Matt Porter
2013-03-27 18:48 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.