RE: [PATCH] ia64: Fix example error_injection_tool

From: Luck, Tony
Date: Thu Mar 28 2013 - 12:47:25 EST


Nice catch.

- mask[j]=1<<k;
+ mask[j] = (unsigned long)1<<k;

Could use
mask[j] = 1ul << k;
to avoid the verbose cast.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/