]> Git Repo - linux.git/commitdiff
block: sed-opal: Don't include <linux/kernel.h>
authorChristophe JAILLET <[email protected]>
Mon, 5 Dec 2022 19:16:48 +0000 (20:16 +0100)
committerJens Axboe <[email protected]>
Thu, 8 Dec 2022 16:18:58 +0000 (09:18 -0700)
There is no need to include <linux/kernel.h> here.

Prefer the less invasive <linux/types.h> and <linux/compiler_types.h>
which are needed in this .h file itself.

Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/c1d479b39e30fe70c4579a1af035d4db49421f56.1670069909.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <[email protected]>
include/linux/sed-opal.h

index 6f837bb6c7156aede902c37e84a5016c1376e681..31ac562a17d7b3d4225604572ded4c29a1816d29 100644 (file)
@@ -11,7 +11,8 @@
 #define LINUX_OPAL_H
 
 #include <uapi/linux/sed-opal.h>
-#include <linux/kernel.h>
+#include <linux/compiler_types.h>
+#include <linux/types.h>
 
 struct opal_dev;
 
This page took 0.06291 seconds and 4 git commands to generate.