diff options
| author | Liam Merwick <liam.merwick@oracle.com> | 2019-03-21 20:13:49 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2019-04-02 11:49:14 -0400 |
| commit | 22132828d1876c45840f9a40454f6cc0463ada2d (patch) | |
| tree | 73c12ad479bf76b272dd4b6a62a14d4d58868774 /hw/net/virtio-net.c | |
| parent | 436960c95946007aca713330e7a488a6f2e0696f (diff) | |
| download | focaccia-qemu-22132828d1876c45840f9a40454f6cc0463ada2d.tar.gz focaccia-qemu-22132828d1876c45840f9a40454f6cc0463ada2d.zip | |
acpi: verify file entries in bios_linker_loader_add_pointer()
The callers to bios_linker_find_file() assert that the file entry returned is not NULL, except for those in bios_linker_loader_add_pointer(). Add two asserts in that case for completeness and to facilitate static code analysis. Signed-off-by: Liam Merwick <liam.merwick@oracle.com> Message-Id: <1553199229-25318-1-git-send-email-liam.merwick@oracle.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions