kernel/drivers/vme/bridges/vme_fake.c
.. .. @@ -1073,6 +1073,8 @@ 1073 1073 1074 1074 /* We need a fake parent device */ 1075 1075 vme_root = __root_device_register("vme", THIS_MODULE); 1076 + if (IS_ERR(vme_root))1077 + return PTR_ERR(vme_root);1076 1078 1077 1079 /* If we want to support more than one bridge at some point, we need to 1078 1080 * dynamically allocate this so we get one per device.