Merge e00008c8a8 into 39d31d9fab
This commit is contained in:
commit
1c2983e6f7
|
|
@ -617,7 +617,11 @@ pci_subclass_name(pcireg_t reg)
|
||||||
subclassp++;
|
subclassp++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return subclassp->name;
|
if (subclassp) {
|
||||||
|
return subclassp->name;
|
||||||
|
} else {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif /* defined(__minix) && defined(_PCI_SERVER) */
|
#endif /* defined(__minix) && defined(_PCI_SERVER) */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user