> - if (code & 3 || code > 0x48) > + if (code & 3 || (code >> 2) >= ARRAY_SIZE(intercept_funcs)) > return -ENOTSUPP; Not that it matters for this patch, but -ENOTSUPP should not leak to userspace. Not sure if it does somewhere, but it is used all over the place within arch/s390/kvm... Use -EOPNOTSUPP or something similar instead. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html