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
11#define LINUX_OPAL_H11#define LINUX_OPAL_H
12 12
13#include <uapi/linux/sed-opal.h>13#include <uapi/linux/sed-opal.h>
14#include <linux/kernel.h>14#include <linux/compiler_types.h>
15#include <linux/types.h>
15 16
16struct opal_dev;17struct opal_dev;
17 18

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