Skip to contentSkip to conversation

fixup! fix missing vmalloc.h includes

PATCH New Kent Overstreet 1 participant 1 message Apr 4, 2024 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 fixup! fix missing vmalloc.h includes

Few places were depending on sizes.h (convenience human-readable-units size macros) iplicitly; fix

---
 include/asm-generic/io.h | 1 +
 include/linux/io.h       | 1 +
 2 files changed, 2 insertions(+)
include/asm-generic/io.h +1 -0
index c27313414a82..80de699bf6af 100644
@@ -9,6 +9,7 @@
 
 #include <asm/page.h> /* I/O is all done through memory accesses */
 #include <linux/string.h> /* for memset() and memcpy() */
+#include <linux/sizes.h>
 #include <linux/types.h>
 #include <linux/instruction_pointer.h>
 
include/linux/io.h +1 -0
index 235ba7d80a8f..e8ee40ee1843 100644
@@ -6,6 +6,7 @@
 #ifndef _LINUX_IO_H
 #define _LINUX_IO_H
 
+#include <linux/sizes.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/bug.h>
Signature · 1 line
2.43.0