projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f480b
)
block: sed-opal: Don't include <linux/kernel.h>
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Mon, 5 Dec 2022 19:16:48 +0000
(20:16 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link:
https://lore.kernel.org/r/c1d479b39e30fe70c4579a1af035d4db49421f56.1670069909.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/sed-opal.h
patch
|
blob
|
history
diff --git
a/include/linux/sed-opal.h
b/include/linux/sed-opal.h
index
6f837bb
..
31ac562
100644
(file)
--- a/
include/linux/sed-opal.h
+++ b/
include/linux/sed-opal.h
@@
-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;