In sys/arm/versatile/versatile_pci.c, add a default handler, to fix a
gcc warning about uninitialized use of a variable. Approved by: re (gjb)
This commit is contained in:
parent
006a42a9cb
commit
f63ada9b97
@ -360,6 +360,9 @@ versatile_pci_activate_resource(device_t bus, device_t child, int type, int rid,
|
||||
res = (BUS_ACTIVATE_RESOURCE(device_get_parent(bus),
|
||||
child, type, rid, r));
|
||||
break;
|
||||
default:
|
||||
res = ENXIO;
|
||||
break;
|
||||
}
|
||||
|
||||
return (res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user