summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_pci.c
diff options
context:
space:
mode:
authorMichael Brown2025-04-30 16:18:34 +0200
committerMichael Brown2025-04-30 16:32:03 +0200
commitb6f9e4bab082c3b7a9b587ef64109069fba59baa (patch)
treeb125fc073dcd1b8ea0dc37a16f8a62b01acf86aa /src/interface/efi/efi_pci.c
parent[image] Clear recorded replacement image immediately after consuming (diff)
downloadipxe-b6f9e4bab082c3b7a9b587ef64109069fba59baa.tar.gz
ipxe-b6f9e4bab082c3b7a9b587ef64109069fba59baa.tar.xz
ipxe-b6f9e4bab082c3b7a9b587ef64109069fba59baa.zip
[uaccess] Remove redundant copy_from_user() and copy_to_user()
Remove the now-redundant copy_from_user() and copy_to_user() wrapper functions. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_pci.c')
-rw-r--r--src/interface/efi/efi_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_pci.c b/src/interface/efi/efi_pci.c
index b8c7df38d..1b1f05816 100644
--- a/src/interface/efi/efi_pci.c
+++ b/src/interface/efi/efi_pci.c
@@ -24,6 +24,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <ipxe/pci.h>
#include <ipxe/acpi.h>