History

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.

Christophe JAILLET committed 3 years ago

Commit 56fb8d91 parent c1f480b1 file · +2 −1Browse files

Unified · Split

include/linux/sed-opal.h+2−1
@@ -11,7 +11,8 @@ · 10 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t