diff mbox series

[v1,1/1] scsi: Don't use "proxy" headers

Message ID 20240423211843.3996046-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/1] scsi: Don't use "proxy" headers | expand

Commit Message

Andy Shevchenko April 23, 2024, 9:18 p.m. UTC
Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/scsi/scsi.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Martin K. Petersen April 25, 2024, 1:27 a.m. UTC | #1
Andy,

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

Applied to 6.10/scsi-staging, thanks!
Martin K. Petersen May 7, 2024, 1:59 a.m. UTC | #2
On Wed, 24 Apr 2024 00:18:43 +0300, Andy Shevchenko wrote:

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

Applied to 6.10/scsi-queue, thanks!

[1/1] scsi: Don't use "proxy" headers
      https://git.kernel.org/mkp/scsi/c/2a7177a80457
diff mbox series

Patch

diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index d90645f06a3a..96b350366670 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -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>