From: Greg Kroah-Hartman Date: Thu, 3 Oct 2019 18:18:30 +0000 (+0200) Subject: drop ras-fix-prototype-warnings.patch from everywhere X-Git-Tag: v4.4.195~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d89dd20aa0d28433688132ed973a81da652c97f;p=thirdparty%2Fkernel%2Fstable-queue.git drop ras-fix-prototype-warnings.patch from everywhere --- diff --git a/queue-4.14/ras-fix-prototype-warnings.patch b/queue-4.14/ras-fix-prototype-warnings.patch deleted file mode 100644 index 38858e9de67..00000000000 --- a/queue-4.14/ras-fix-prototype-warnings.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 0e45bff82eb795dec8fb99b2a518c428c634b370 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 7 Aug 2019 18:59:29 -0400 -Subject: RAS: Fix prototype warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From: Valdis Klētnieks - -[ Upstream commit 0a54b809a3a2c31e1055b45b03708eb730222be1 ] - -When building with C=2 and/or W=1, legitimate warnings are issued about -missing prototypes: - - CHECK drivers/ras/debugfs.c - drivers/ras/debugfs.c:4:15: warning: symbol 'ras_debugfs_dir' was not declared. Should it be static? - drivers/ras/debugfs.c:8:5: warning: symbol 'ras_userspace_consumers' was not declared. Should it be static? - drivers/ras/debugfs.c:38:12: warning: symbol 'ras_add_daemon_trace' was not declared. Should it be static? - drivers/ras/debugfs.c:54:13: warning: symbol 'ras_debugfs_init' was not declared. Should it be static? - CC drivers/ras/debugfs.o - drivers/ras/debugfs.c:8:5: warning: no previous prototype for 'ras_userspace_consumers' [-Wmissing-prototypes] - 8 | int ras_userspace_consumers(void) - | ^~~~~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:38:12: warning: no previous prototype for 'ras_add_daemon_trace' [-Wmissing-prototypes] - 38 | int __init ras_add_daemon_trace(void) - | ^~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:54:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes] - 54 | void __init ras_debugfs_init(void) - | ^~~~~~~~~~~~~~~~ - -Provide the proper includes. - - [ bp: Take care of the same warnings for cec.c too. ] - -Signed-off-by: Valdis Kletnieks -Signed-off-by: Borislav Petkov -Cc: Tony Luck -Cc: linux-edac@vger.kernel.org -Cc: x86@kernel.org -Link: http://lkml.kernel.org/r/7168.1565218769@turing-police -Signed-off-by: Sasha Levin ---- - drivers/ras/cec.c | 1 + - drivers/ras/debugfs.c | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c -index 97cf40a522be3..02e65bdbadcae 100644 ---- a/drivers/ras/cec.c -+++ b/drivers/ras/cec.c -@@ -1,6 +1,7 @@ - // SPDX-License-Identifier: GPL-2.0 - #include - #include -+#include - #include - - #include -diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c -index 501603057dffe..12a161377f4f8 100644 ---- a/drivers/ras/debugfs.c -+++ b/drivers/ras/debugfs.c -@@ -1,4 +1,6 @@ - #include -+#include -+#include "debugfs.h" - - struct dentry *ras_debugfs_dir; - --- -2.20.1 - diff --git a/queue-4.14/series b/queue-4.14/series index cc62a5a8a38..9657bfcba95 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -76,7 +76,6 @@ asoc-rsnd-don-t-call-clk_get_rate-under-atomic-conte.patch md-raid1-end-bio-when-the-device-faulty.patch md-don-t-call-spare_active-in-md_reap_sync_thread-if.patch md-don-t-set-in_sync-if-array-is-frozen.patch -ras-fix-prototype-warnings.patch acpi-processor-don-t-print-errors-for-processorids-0.patch edac-pnd2-fix-ioremap-size-in-dnv_rd_reg.patch efi-cper-print-aer-info-of-pcie-fatal-error.patch diff --git a/queue-4.19/ras-fix-prototype-warnings.patch b/queue-4.19/ras-fix-prototype-warnings.patch deleted file mode 100644 index 622a049e940..00000000000 --- a/queue-4.19/ras-fix-prototype-warnings.patch +++ /dev/null @@ -1,73 +0,0 @@ -From b4033824157e974c674ed3fcc5459940b9923480 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 7 Aug 2019 18:59:29 -0400 -Subject: RAS: Fix prototype warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From: Valdis Klētnieks - -[ Upstream commit 0a54b809a3a2c31e1055b45b03708eb730222be1 ] - -When building with C=2 and/or W=1, legitimate warnings are issued about -missing prototypes: - - CHECK drivers/ras/debugfs.c - drivers/ras/debugfs.c:4:15: warning: symbol 'ras_debugfs_dir' was not declared. Should it be static? - drivers/ras/debugfs.c:8:5: warning: symbol 'ras_userspace_consumers' was not declared. Should it be static? - drivers/ras/debugfs.c:38:12: warning: symbol 'ras_add_daemon_trace' was not declared. Should it be static? - drivers/ras/debugfs.c:54:13: warning: symbol 'ras_debugfs_init' was not declared. Should it be static? - CC drivers/ras/debugfs.o - drivers/ras/debugfs.c:8:5: warning: no previous prototype for 'ras_userspace_consumers' [-Wmissing-prototypes] - 8 | int ras_userspace_consumers(void) - | ^~~~~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:38:12: warning: no previous prototype for 'ras_add_daemon_trace' [-Wmissing-prototypes] - 38 | int __init ras_add_daemon_trace(void) - | ^~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:54:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes] - 54 | void __init ras_debugfs_init(void) - | ^~~~~~~~~~~~~~~~ - -Provide the proper includes. - - [ bp: Take care of the same warnings for cec.c too. ] - -Signed-off-by: Valdis Kletnieks -Signed-off-by: Borislav Petkov -Cc: Tony Luck -Cc: linux-edac@vger.kernel.org -Cc: x86@kernel.org -Link: http://lkml.kernel.org/r/7168.1565218769@turing-police -Signed-off-by: Sasha Levin ---- - drivers/ras/cec.c | 1 + - drivers/ras/debugfs.c | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c -index 5d2b2c02cbbec..0c719787876a5 100644 ---- a/drivers/ras/cec.c -+++ b/drivers/ras/cec.c -@@ -1,6 +1,7 @@ - // SPDX-License-Identifier: GPL-2.0 - #include - #include -+#include - #include - #include - -diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c -index 501603057dffe..12a161377f4f8 100644 ---- a/drivers/ras/debugfs.c -+++ b/drivers/ras/debugfs.c -@@ -1,4 +1,6 @@ - #include -+#include -+#include "debugfs.h" - - struct dentry *ras_debugfs_dir; - --- -2.20.1 - diff --git a/queue-4.19/series b/queue-4.19/series index 6e0cf0d659f..c96d2921c35 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -55,7 +55,6 @@ md-raid1-end-bio-when-the-device-faulty.patch md-don-t-call-spare_active-in-md_reap_sync_thread-if.patch md-don-t-set-in_sync-if-array-is-frozen.patch media-media-platform-fsl-viu.c-fix-build-for-microbl.patch -ras-fix-prototype-warnings.patch acpi-processor-don-t-print-errors-for-processorids-0.patch loop-add-loop_set_direct_io-to-compat-ioctl.patch edac-pnd2-fix-ioremap-size-in-dnv_rd_reg.patch diff --git a/queue-5.2/ras-fix-prototype-warnings.patch b/queue-5.2/ras-fix-prototype-warnings.patch deleted file mode 100644 index 55fa44d6368..00000000000 --- a/queue-5.2/ras-fix-prototype-warnings.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 9ccb70aa04f611c7a2c12b4e389a9b3087bfd9c1 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 7 Aug 2019 18:59:29 -0400 -Subject: RAS: Fix prototype warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From: Valdis Klētnieks - -[ Upstream commit 0a54b809a3a2c31e1055b45b03708eb730222be1 ] - -When building with C=2 and/or W=1, legitimate warnings are issued about -missing prototypes: - - CHECK drivers/ras/debugfs.c - drivers/ras/debugfs.c:4:15: warning: symbol 'ras_debugfs_dir' was not declared. Should it be static? - drivers/ras/debugfs.c:8:5: warning: symbol 'ras_userspace_consumers' was not declared. Should it be static? - drivers/ras/debugfs.c:38:12: warning: symbol 'ras_add_daemon_trace' was not declared. Should it be static? - drivers/ras/debugfs.c:54:13: warning: symbol 'ras_debugfs_init' was not declared. Should it be static? - CC drivers/ras/debugfs.o - drivers/ras/debugfs.c:8:5: warning: no previous prototype for 'ras_userspace_consumers' [-Wmissing-prototypes] - 8 | int ras_userspace_consumers(void) - | ^~~~~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:38:12: warning: no previous prototype for 'ras_add_daemon_trace' [-Wmissing-prototypes] - 38 | int __init ras_add_daemon_trace(void) - | ^~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:54:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes] - 54 | void __init ras_debugfs_init(void) - | ^~~~~~~~~~~~~~~~ - -Provide the proper includes. - - [ bp: Take care of the same warnings for cec.c too. ] - -Signed-off-by: Valdis Kletnieks -Signed-off-by: Borislav Petkov -Cc: Tony Luck -Cc: linux-edac@vger.kernel.org -Cc: x86@kernel.org -Link: http://lkml.kernel.org/r/7168.1565218769@turing-police -Signed-off-by: Sasha Levin ---- - drivers/ras/cec.c | 1 + - drivers/ras/debugfs.c | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c -index f5795adc5a6e1..8037c490f3ba7 100644 ---- a/drivers/ras/cec.c -+++ b/drivers/ras/cec.c -@@ -1,6 +1,7 @@ - // SPDX-License-Identifier: GPL-2.0 - #include - #include -+#include - #include - #include - -diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c -index 9c1b717efad86..0d4f985afbf37 100644 ---- a/drivers/ras/debugfs.c -+++ b/drivers/ras/debugfs.c -@@ -1,5 +1,7 @@ - // SPDX-License-Identifier: GPL-2.0-only - #include -+#include -+#include "debugfs.h" - - struct dentry *ras_debugfs_dir; - --- -2.20.1 - diff --git a/queue-5.2/series b/queue-5.2/series index 7854383380e..930a30afb07 100644 --- a/queue-5.2/series +++ b/queue-5.2/series @@ -75,7 +75,6 @@ md-raid1-end-bio-when-the-device-faulty.patch md-don-t-call-spare_active-in-md_reap_sync_thread-if.patch md-don-t-set-in_sync-if-array-is-frozen.patch media-media-platform-fsl-viu.c-fix-build-for-microbl.patch -ras-fix-prototype-warnings.patch ras-build-debugfs.o-only-when-enabled-in-kconfig.patch asoc-hdac_hda-fix-page-fault-issue-by-removing-race.patch acpi-processor-don-t-print-errors-for-processorids-0.patch diff --git a/queue-5.3/ras-fix-prototype-warnings.patch b/queue-5.3/ras-fix-prototype-warnings.patch deleted file mode 100644 index ea9e9879031..00000000000 --- a/queue-5.3/ras-fix-prototype-warnings.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 70cca939be565452842c8b298c9ac828c0dfdc93 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 7 Aug 2019 18:59:29 -0400 -Subject: RAS: Fix prototype warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From: Valdis Klētnieks - -[ Upstream commit 0a54b809a3a2c31e1055b45b03708eb730222be1 ] - -When building with C=2 and/or W=1, legitimate warnings are issued about -missing prototypes: - - CHECK drivers/ras/debugfs.c - drivers/ras/debugfs.c:4:15: warning: symbol 'ras_debugfs_dir' was not declared. Should it be static? - drivers/ras/debugfs.c:8:5: warning: symbol 'ras_userspace_consumers' was not declared. Should it be static? - drivers/ras/debugfs.c:38:12: warning: symbol 'ras_add_daemon_trace' was not declared. Should it be static? - drivers/ras/debugfs.c:54:13: warning: symbol 'ras_debugfs_init' was not declared. Should it be static? - CC drivers/ras/debugfs.o - drivers/ras/debugfs.c:8:5: warning: no previous prototype for 'ras_userspace_consumers' [-Wmissing-prototypes] - 8 | int ras_userspace_consumers(void) - | ^~~~~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:38:12: warning: no previous prototype for 'ras_add_daemon_trace' [-Wmissing-prototypes] - 38 | int __init ras_add_daemon_trace(void) - | ^~~~~~~~~~~~~~~~~~~~ - drivers/ras/debugfs.c:54:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes] - 54 | void __init ras_debugfs_init(void) - | ^~~~~~~~~~~~~~~~ - -Provide the proper includes. - - [ bp: Take care of the same warnings for cec.c too. ] - -Signed-off-by: Valdis Kletnieks -Signed-off-by: Borislav Petkov -Cc: Tony Luck -Cc: linux-edac@vger.kernel.org -Cc: x86@kernel.org -Link: http://lkml.kernel.org/r/7168.1565218769@turing-police -Signed-off-by: Sasha Levin ---- - drivers/ras/cec.c | 1 + - drivers/ras/debugfs.c | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c -index 5d545806d9303..c09cf55e2d204 100644 ---- a/drivers/ras/cec.c -+++ b/drivers/ras/cec.c -@@ -4,6 +4,7 @@ - */ - #include - #include -+#include - #include - #include - -diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c -index 9c1b717efad86..0d4f985afbf37 100644 ---- a/drivers/ras/debugfs.c -+++ b/drivers/ras/debugfs.c -@@ -1,5 +1,7 @@ - // SPDX-License-Identifier: GPL-2.0-only - #include -+#include -+#include "debugfs.h" - - struct dentry *ras_debugfs_dir; - --- -2.20.1 - diff --git a/queue-5.3/series b/queue-5.3/series index 9007edd553d..2e257f8aa66 100644 --- a/queue-5.3/series +++ b/queue-5.3/series @@ -88,7 +88,6 @@ md-don-t-call-spare_active-in-md_reap_sync_thread-if.patch md-don-t-set-in_sync-if-array-is-frozen.patch media-media-platform-fsl-viu.c-fix-build-for-microbl.patch media-staging-tegra-vde-fix-build-error.patch -ras-fix-prototype-warnings.patch ras-build-debugfs.o-only-when-enabled-in-kconfig.patch asoc-hdac_hda-fix-page-fault-issue-by-removing-race.patch acpi-processor-don-t-print-errors-for-processorids-0.patch