Fix couple of style nits.
This commit is contained in:
parent
5757b18266
commit
64d87e5bf2
@ -3894,7 +3894,7 @@ pci_describe_device(device_t dev)
|
|||||||
if ((desc = malloc(strlen(vp) + strlen(dp) + 3, M_DEVBUF, M_NOWAIT)) !=
|
if ((desc = malloc(strlen(vp) + strlen(dp) + 3, M_DEVBUF, M_NOWAIT)) !=
|
||||||
NULL)
|
NULL)
|
||||||
sprintf(desc, "%s, %s", vp, dp);
|
sprintf(desc, "%s, %s", vp, dp);
|
||||||
out:
|
out:
|
||||||
if (vp != NULL)
|
if (vp != NULL)
|
||||||
free(vp, M_DEVBUF);
|
free(vp, M_DEVBUF);
|
||||||
if (dp != NULL)
|
if (dp != NULL)
|
||||||
@ -4170,7 +4170,7 @@ pci_reserve_map(device_t dev, device_t child, int type, int *rid,
|
|||||||
count, *rid, type, rman_get_start(res));
|
count, *rid, type, rman_get_start(res));
|
||||||
map = rman_get_start(res);
|
map = rman_get_start(res);
|
||||||
pci_write_bar(child, pm, map);
|
pci_write_bar(child, pm, map);
|
||||||
out:;
|
out:
|
||||||
return (res);
|
return (res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user