x86-sta2x11-include-header-for-sta2x11_get_instance-prototype.patch removed from -mm tree
The quilt patch titled
Subject: x86: sta2x11: include header for sta2x11_get_instance() prototype
has been removed from the -mm tree. Its filename was
x86-sta2x11-include-header-for-sta2x11_get_instance-prototype.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: Arnd Bergmann <[email protected]>
Subject: x86: sta2x11: include header for sta2x11_get_instance() prototype
Date: Thu, 23 Nov 2023 12:05:04 +0100
sta2x11_get_instance() is a global function declared in asm/sta2x11.h, but this header is not included before the definition, causing a warning:
arch/x86/pci/sta2x11-fixup.c:95:26: error: no previous prototype for 'sta2x11_get_instance' [-Werror=missing-prototypes]
Add the missing #include.
---
arch/x86/pci/sta2x11-fixup.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/pci/sta2x11-fixup.c renamed from arch/x86/pci/sta2x11-fixup.c~x86-sta2x11-include-header-for-sta2x11_get_instance-prototype +1 -0
@@ -14,6 +14,7 @@#include <linux/dma-map-ops.h> #include <linux/swiotlb.h> #include <asm/iommu.h> +#include <asm/sta2x11.h> #define STA2X11_SWIOTLB_SIZE (4*1024*1024)
_
Patches currently in -mm which might be from [email protected] are
kexec-fix-kexec_file-dependencies.patch kexec-fix-kexec_file-dependencies-fix.patch kexec-select-crypto-from-kexec_file-instead-of-depending-on-it.patch makefileextrawarn-turn-on-missing-prototypes-globally.patch