Skip to contentSkip to conversation

kfifo-dont-use-proxy-headers.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kfifo: don't use "proxy" headers
has been removed from the -mm tree. Its filename was
kfifo-dont-use-proxy-headers.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Andy Shevchenko <[email protected]>
Subject: kfifo: don't use "proxy" headers
Date: Tue, 23 Apr 2024 22:23:10 +0300

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

Cc Alain Volmat <[email protected]>
Cc AngeloGioacchino Del Regno <[email protected]>
Cc Chen-Yu Tsai <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Jernej Skrabec <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Samuel Holland <[email protected]>
Cc Sean Wang <[email protected]>
Cc Sean Young <[email protected]>
Cc Stefani Seibold <[email protected]>

---

 include/linux/kfifo.h       |    9 +++++++--
 lib/kfifo.c                 |    8 ++++----
 samples/kfifo/dma-example.c |    3 ++-
 3 files changed, 13 insertions(+), 7 deletions(-)
include/linux/kfifo.h renamed from include/linux/kfifo.h~kfifo-dont-use-proxy-headers +7 -2
@@ -36,10 +36,15 @@
  * to lock the reader.
  */
 
-#include <linux/kernel.h>
+#include <linux/array_size.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;
lib/kfifo.c renamed from lib/kfifo.c~kfifo-dont-use-proxy-headers +4 -4
@@ -5,13 +5,13 @@
  * Copyright (C) 2009/2010 Stefani Seibold <[email protected]>
  */
 
-#include <linux/kernel.h>
-#include <linux/export.h>
-#include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/export.h>
+#include <linux/kfifo.h>
 #include <linux/log2.h>
+#include <linux/scatterlist.h>
+#include <linux/slab.h>
 #include <linux/uaccess.h>
-#include <linux/kfifo.h>
 
 /*
  * internal helper to calculate the unused elements in a fifo
samples/kfifo/dma-example.c renamed from samples/kfifo/dma-example.c~kfifo-dont-use-proxy-headers +2 -1
@@ -6,8 +6,9 @@
  */
 
 #include <linux/init.h>
-#include <linux/module.h>
 #include <linux/kfifo.h>
+#include <linux/module.h>
+#include <linux/scatterlist.h>
 
 /*
  * This module shows how to handle fifo dma operations.

_

Patches currently in -mm which might be from [email protected] are