mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-23 14:00:08 +00:00
[efi] Provide space for storing the EFI driver name
Commit d7736fb ("[efi] Allow EFI to control PCI bus enumeration") introduced a bug in which the EFI driver name became an (uninitialised) pointer rather than an array. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
d7736fbb7b
commit
14a8b4bfef
@ -18,7 +18,7 @@ struct efi_driver {
|
||||
/** Name */
|
||||
const char *name;
|
||||
/** EFI name */
|
||||
CHAR16 *wname;
|
||||
CHAR16 wname[32];
|
||||
/** EFI driver binding protocol */
|
||||
EFI_DRIVER_BINDING_PROTOCOL driver;
|
||||
/** EFI component name protocol */
|
||||
|
Loading…
x
Reference in New Issue
Block a user