Commit 910f724f authored by Jeff Ohlstein's avatar Jeff Ohlstein Committed by Bryan Huntsman
Browse files

arm: delay: annotate delay constant as unsigned long



Currently the __udelay function causes the following compiler warning
when HZ is set to 1000:

arch/arm/lib/delay.c: In function __udelay:
arch/arm/lib/delay.c:88: warning: integer overflow in expression

The overflow does not occur if the constant is unsigned.

Signed-off-by: default avatarJeff Ohlstein <johlstei@codeaurora.org>
parent 00548e64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment