Skip to content

Commit 56fb8d9

Browse files
tititiou36axboe
authored andcommitted
block: sed-opal: Don't include <linux/kernel.h>
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]>
1 parent c1f480b commit 56fb8d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/sed-opal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#define LINUX_OPAL_H
1212

1313
#include <uapi/linux/sed-opal.h>
14-
#include <linux/kernel.h>
14+
#include <linux/compiler_types.h>
15+
#include <linux/types.h>
1516

1617
struct opal_dev;
1718

0 commit comments

Comments
 (0)