Skip to contentSkip to conversation

compat_ioctl: block: add missing include

PATCH In review Arnd Bergmann 2 participants 2 messages Dec 21, 2019 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat_ioctl: block: add missing include

As the 0day bot pointed out, a header inclusion is missing in my earlier bugfixes:

block/compat_ioctl.c: In function 'compat_blkdev_ioctl':
block/compat_ioctl.c:411:7: error: 'IOC_PR_REGISTER' undeclared (first use in this function); did you mean 'TRACE_REG_REGISTER'?

---
 block/compat_ioctl.c | 1 +
 1 file changed, 1 insertion(+)
block/compat_ioctl.c +1 -0
index f16ae92..3ed7a0f 100644
@@ -6,6 +6,7 @@
 #include <linux/compat.h>
 #include <linux/elevator.h>
 #include <linux/hdreg.h>
+#include <linux/pr.h>
 #include <linux/slab.h>
 #include <linux/syscalls.h>
 #include <linux/types.h>
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 5 lines · Arnd Bergmann

As the 0day bot pointed out, a header inclusion is missing in my earlier bugfixes:

block/compat_ioctl.c: In function 'compat_blkdev_ioctl':
block/compat_ioctl.c:411:7: error: 'IOC_PR_REGISTER' undeclared (first use in this function); did you mean 'TRACE_REG_REGISTER'?

Folded in, here's the update series on top of block-5.5:

https://git.kernel.dk/cgit/linux-block/log/?h=block-5.5-next

Signature · 1 line
Jens Axboe