Skip to contentSkip to conversation

scsi: Don't use "proxy" headers

PATCH Applied Andy Shevchenko 2 participants 3 messages Apr 23, 2024 – May 7, 2024 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: Don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use) principle.

---
 include/scsi/scsi.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
include/scsi/scsi.h +3 -2
index d90645f06a3a..96b350366670 100644
@@ -7,8 +7,9 @@
 #define _SCSI_SCSI_H
 
 #include <linux/types.h>
-#include <linux/scatterlist.h>
-#include <linux/kernel.h>
+
+#include <asm/param.h>
+
 #include <scsi/scsi_common.h>
 #include <scsi/scsi_proto.h>
 #include <scsi/scsi_status.h>
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
#1 lore raw

Andy,

Quoted 2 lines

Update header inclusions to follow IWYU (Include What You Use) principle.

Applied to 6.10/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering