On 08/08/2016 07:31 AM, Erwan Velu wrote:
Hey Jens, Isn't that dangerous to sum many unsigned integers into a signed int ? Couldn't this trigger overflows ? + sum += io_u_plat[j + k];
It'd probably be more appropriate to have it be an unsigned long at least, then we could kill the cast as well when we print it.
-- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html