mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] compat_ioctl: block: add missing include
@ 2019-12-21 12:45 Arnd Bergmann
  2019-12-21 14:28 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-12-21 12:45 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Linus Torvalds, linux-kernel, 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'?

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 block/compat_ioctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c
index f16ae92..3ed7a0f 100644
--- a/block/compat_ioctl.c
+++ b/block/compat_ioctl.c
@@ -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>
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-21 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-21 12:45 [PATCH] compat_ioctl: block: add missing include Arnd Bergmann
2019-12-21 14:28 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®