LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] kfifo: Don't use "proxy" headers
@ 2024-04-23 14:37 Andy Shevchenko
  0 siblings, 0 replies; only message in thread
From: Andy Shevchenko @ 2024-04-23 14:37 UTC (permalink / raw
  To: Greg Kroah-Hartman, Jiri Slaby (SUSE), linux-kernel
  Cc: Stefani Seibold, Rasmus Villemoes, Andrew Morton, Andy Shevchenko

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

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

diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h
index d613748de7ff..564868bdce89 100644
--- a/include/linux/kfifo.h
+++ b/include/linux/kfifo.h
@@ -36,11 +36,16 @@
  * to lock the reader.
  */
 
+#include <linux/array_size.h>
 #include <linux/dma-mapping.h>
-#include <linux/kernel.h>
 #include <linux/spinlock.h>
 #include <linux/stddef.h>
-#include <linux/scatterlist.h>
+#include <linux/types.h>
+
+#include <asm/barrier.h>
+#include <asm/errno.h>
+
+struct scatterlist;
 
 struct __kfifo {
 	unsigned int	in;
-- 
2.43.0.rc1.1336.g36b5255a03ac


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-23 14:37 [PATCH v1 1/1] kfifo: Don't use "proxy" headers Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).