arch/arm/kernel/time.c: Fix time_before type warning.
arch/arm/common/amba.c: Fix snprintf compiler warning.
if (nr_env < 2)
return -ENOMEM;
- snprintf(buf, bufsz, "AMBA_ID=%08lx", pcdev->periphid);
+ snprintf(buf, bufsz, "AMBA_ID=%08x", pcdev->periphid);
*envp++ = buf;
*envp++ = NULL;
return 0;
return;
if (next_rtc_update &&
- time_before(xtime.tv_sec, next_rtc_update))
+ time_before((unsigned long)xtime.tv_sec, next_rtc_update))
return;
if (xtime.tv_nsec < 500000000 - ((unsigned) tick_nsec >> 1) &&