From: "Maxin B. John" <maxin.john@xxxxxxxxx> With x32 toolchain, this code caused the below listed error: | Monitor.c: In function 'check_array': | Monitor.c:545:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | if (st->utime == array.utime && Signed-off-by: Maxin B. John <maxin.john@xxxxxxxxx> --- Monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Monitor.c b/Monitor.c index f19c2e5..748d61b 100644 --- a/Monitor.c +++ b/Monitor.c @@ -542,7 +542,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat, alert("NewArray", st->devname, NULL, ainfo); } - if (st->utime == array.utime && + if ((unsigned long)st->utime == array.utime && st->failed == array.failed_disks && st->working == array.working_disks && st->spare == array.spare_disks && -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html