Bugzilla – Attachment #337683: Preserve compatibility for bug #551598
if (magic != XEN_IOPORT_MAGIC_VAL) {
dev_err(dev, "invalid magic %#x", magic);
return -ENODEV;
/*
* Older backend; just return 0 to be compatible.
*/
return 0;
}
protocol = inb(XEN_IOPORT_PROTOVER);