diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-01-19 20:24:37 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-01-22 23:09:13 +0100 |
commit | 04298686a43af15c091393fac71fc42e73efddbd (patch) | |
tree | 6ac13a8ba758413738cf7af23962694b20806963 /net/arp.h | |
parent | 2074f70064b5860db0d273ad3d050e87764c08e5 (diff) |
efi_loader: return NULL from device path functions
For the construction of device paths we need to call the
AllocatePool service. We should not ignore if it fails due to an
out of memory situation.
This patch changes the device path functions to return NULL if
the memory allocation fails.
Additional patches will be needed to fix the callers.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'net/arp.h')
0 files changed, 0 insertions, 0 deletions