[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>
This commit is contained in:
Michael Brown
2025-04-30 15:18:34 +01:00
parent a69c42dd9f
commit b6f9e4bab0
89 changed files with 90 additions and 28 deletions
+1
View File
@@ -31,6 +31,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ipxe/device.h>
#include <ipxe/fdt.h>
+1
View File
@@ -23,6 +23,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <string.h>
#include <errno.h>
#include <ipxe/uaccess.h>
#include <ipxe/ecam.h>
+1
View File
@@ -24,6 +24,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ipxe/pci.h>
#include <ipxe/settings.h>
+1
View File
@@ -24,6 +24,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ipxe/usb.h>
#include <ipxe/settings.h>
+1
View File
@@ -20,6 +20,7 @@
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <ipxe/pci.h>
+1
View File
@@ -25,6 +25,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
@@ -7,6 +7,7 @@
#include <ipxe/malloc.h>
#include <stddef.h>
#include <string.h>
#include <byteswap.h>
#include <ipxe/io.h>
#include "../../mlx_utils/include/private/mlx_memory_priv.h"
+1
View File
@@ -25,6 +25,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
+1
View File
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ipxe/netdevice.h>
#include <ipxe/ethernet.h>
+1
View File
@@ -23,6 +23,7 @@
FILE_LICENCE ( BSD2 );
#include <unistd.h>
#include <string.h>
#include <ipxe/net80211.h>
/* This block of functions are from kernel.h v3.0.1 */
+1
View File
@@ -24,6 +24,7 @@
FILE_LICENCE ( MIT );
#include <stddef.h>
#include <string.h>
#include <byteswap.h>
#include <ipxe/io.h>
#include <ipxe/netdevice.h>
+1
View File
@@ -31,6 +31,7 @@
FILE_LICENCE ( GPL2_OR_LATER );
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <stdio.h>
+1
View File
@@ -3,6 +3,7 @@ FILE_LICENCE ( GPL2_ONLY );
#include <mii.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <byteswap.h>
+1
View File
@@ -101,6 +101,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
#include <errno.h>
#include <stdio.h>
+1
View File
@@ -21,6 +21,7 @@ FILE_LICENCE ( GPL_ANY );
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
+1
View File
@@ -31,6 +31,7 @@
FILE_LICENCE ( BSD2 );
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
+1
View File
@@ -31,6 +31,7 @@
FILE_LICENCE ( BSD2 );
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
+1 -1
View File
@@ -74,7 +74,7 @@ FILE_LICENCE ( GPL2_ONLY );
*/
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
#include <errno.h>
#include <ipxe/ethernet.h>
+1
View File
@@ -32,6 +32,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
* bus (VMBus). It provides a transport layer for RNDIS packets.
*/
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <byteswap.h>
+1
View File
@@ -20,6 +20,7 @@
FILE_LICENCE(GPL2_ONLY);
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
+1
View File
@@ -21,6 +21,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <assert.h>
+1
View File
@@ -19,6 +19,7 @@
***************************************************************************/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <byteswap.h>
+1
View File
@@ -31,6 +31,7 @@
FILE_LICENCE ( GPL2_ONLY );
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
+1
View File
@@ -28,6 +28,7 @@
FILE_LICENCE ( GPL2_ONLY );
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
+1
View File
@@ -3,6 +3,7 @@ FILE_LICENCE ( GPL2_ONLY );
#include <mii.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <byteswap.h>
+1
View File
@@ -18,6 +18,7 @@
FILE_LICENCE ( GPL2_ONLY );
#include <mii.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
+1
View File
@@ -1,6 +1,7 @@
#include <mii.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <byteswap.h>
+1
View File
@@ -24,6 +24,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <byteswap.h>
+1
View File
@@ -16,6 +16,7 @@ FILE_LICENCE(GPL2_ONLY);
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ipxe/malloc.h>
#include <ipxe/pci.h>
#include <ipxe/iobuf.h>
+1
View File
@@ -15,6 +15,7 @@
FILE_LICENCE(GPL2_ONLY);
#include <ipxe/netdevice.h>
#include <string.h>
#include <errno.h>
#include "vxge_traffic.h"
+1
View File
@@ -24,6 +24,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ipxe/nvs.h>
#include <ipxe/pci.h>
+1
View File
@@ -25,6 +25,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <ipxe/usb.h>
#include <ipxe/scsi.h>