On Sun, May 25, 2014 at 09:43:34PM +0900, Akinobu Mita wrote: > SG_GET_RESERVED_SIZE and SG_SET_RESERVED_SIZE ioctls access a reserved > buffer in bytes as int type. The value needs to be capped at the request > queue's max_sectors. But integer overflow is not correctly handled in > the calculation when converting max_sectors from sectors to bytes. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html