2024-04-23 23:57:40

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] scsi: Don't use "proxy" headers

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

Signed-off-by: Andy Shevchenko <[email protected]>
---
include/scsi/scsi.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

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>
--
2.43.0.rc1.1336.g36b5255a03ac



2024-04-25 01:28:19

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scsi: Don't use "proxy" headers


Andy,

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

Applied to 6.10/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

2024-05-07 02:01:28

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scsi: Don't use "proxy" headers

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

--
Martin K. Petersen Oracle Linux Engineering