From: Sasha Levin Date: Tue, 6 Dec 2022 12:55:33 +0000 (-0500) Subject: Drop kbuild-fix-wimplicit-function-declaration-in-license.patch X-Git-Tag: v4.9.335~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=797d6b63c8be507d985e63efc697370bc79a07b7;p=thirdparty%2Fkernel%2Fstable-queue.git Drop kbuild-fix-wimplicit-function-declaration-in-license.patch Signed-off-by: Sasha Levin --- diff --git a/queue-4.14/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-4.14/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index 7a688e43651..00000000000 --- a/queue-4.14/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From e1e5b8c87580c24ac975ff42b75f53c92d83f7c5 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index decdbf43cb5c..87a21d5d6758 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -1,6 +1,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-4.14/series b/queue-4.14/series index a4642855549..846c6675b07 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -55,7 +55,6 @@ packet-do-not-set-tp_status_csum_valid-on-checksum_c.patch net-ethernet-renesas-ravb-fix-promiscuous-mode-after.patch hwmon-coretemp-check-for-null-before-removing-sysfs-.patch hwmon-coretemp-fix-pci-device-refcount-leak-in-nv1a_.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch perf-add-sample_flags-to-indicate-the-pmu-filled-sam.patch btrfs-qgroup-fix-sleep-from-invalid-context-bug-in-b.patch tools-vm-slabinfo-gnuplot-use-grep-e-instead-of-egrep.patch diff --git a/queue-4.19/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-4.19/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index c0f9928e697..00000000000 --- a/queue-4.19/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From dfa95278d8646a6d65894eebafaff9f2ebc2225d Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index decdbf43cb5c..87a21d5d6758 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -1,6 +1,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-4.19/series b/queue-4.19/series index 5eea8323b3a..74074957a89 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -61,7 +61,6 @@ proc-avoid-integer-type-confusion-in-get_proc_long.patch proc-proc_skip_spaces-shouldn-t-think-it-is-working-on-c-strings.patch v4l2-don-t-fall-back-to-follow_pfn-if-pin_user_pages_fast-fails.patch revert-x86-speculation-change-fill_return_buffer-to-work-with-objtool.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch iio-health-afe4403-fix-oob-read-in-afe4403_read_raw.patch iio-health-afe4404-fix-oob-read-in-afe4404_-read-wri.patch iio-light-rpr0521-add-missing-kconfig-dependencies.patch diff --git a/queue-5.10/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-5.10/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index 06b66ef0834..00000000000 --- a/queue-5.10/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 0298fa6497ce601de8191455d581e69b141e51bb Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index 7cce390f120b..ad937f57f2cb 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -2,6 +2,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-5.10/series b/queue-5.10/series index 80324a2b8a0..231a2df86fe 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -3,7 +3,6 @@ btrfs-free-btrfs_path-before-copying-inodes-to-users.patch spi-spi-imx-fix-spi_bus_clk-if-requested-clock-is-hi.patch btrfs-move-quota_enabled-check-to-rescan_should_stop.patch drm-display-dp_mst-fix-drm_dp_mst_add_affected_dsc_c.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch drm-amdgpu-update-drm_display_info-correctly-when-th.patch drm-amdgpu-partially-revert-drm-amdgpu-update-drm_di.patch btrfs-qgroup-fix-sleep-from-invalid-context-bug-in-b.patch diff --git a/queue-5.15/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-5.15/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index f824b01b5ec..00000000000 --- a/queue-5.15/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 3f07ef5743bd434f3689f9ceed7a24128dc6b5ae Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index 7cce390f120b..ad937f57f2cb 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -2,6 +2,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-5.15/series b/queue-5.15/series index 5f0ac5c0fc5..01e2afb614e 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -8,7 +8,6 @@ spi-spi-imx-fix-spi_bus_clk-if-requested-clock-is-hi.patch btrfs-move-quota_enabled-check-to-rescan_should_stop.patch btrfs-qgroup-fix-sleep-from-invalid-context-bug-in-b.patch drm-display-dp_mst-fix-drm_dp_mst_add_affected_dsc_c.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch drm-amdgpu-update-drm_display_info-correctly-when-th.patch drm-amdgpu-partially-revert-drm-amdgpu-update-drm_di.patch iio-health-afe4403-fix-oob-read-in-afe4403_read_raw.patch diff --git a/queue-5.4/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-5.4/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index c2acb88fc1d..00000000000 --- a/queue-5.4/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 89259f1ab2bd5639d429980eb7d7d726dab5dc6e Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index decdbf43cb5c..87a21d5d6758 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -1,6 +1,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-5.4/series b/queue-5.4/series index d90195da98f..9fc52047dec 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -83,7 +83,6 @@ fuse-lock-inode-unconditionally-in-fuse_fallocate.patch btrfs-free-btrfs_path-before-copying-inodes-to-users.patch spi-spi-imx-fix-spi_bus_clk-if-requested-clock-is-hi.patch btrfs-move-quota_enabled-check-to-rescan_should_stop.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch drm-amdgpu-update-drm_display_info-correctly-when-th.patch drm-amdgpu-partially-revert-drm-amdgpu-update-drm_di.patch btrfs-qgroup-fix-sleep-from-invalid-context-bug-in-b.patch diff --git a/queue-6.0/kbuild-fix-wimplicit-function-declaration-in-license.patch b/queue-6.0/kbuild-fix-wimplicit-function-declaration-in-license.patch deleted file mode 100644 index f53409a358e..00000000000 --- a/queue-6.0/kbuild-fix-wimplicit-function-declaration-in-license.patch +++ /dev/null @@ -1,50 +0,0 @@ -From ef268e57b665da9aaed9278c6a1e3aad17d9659c Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Wed, 16 Nov 2022 18:26:34 +0000 -Subject: kbuild: fix -Wimplicit-function-declaration in - license_is_gpl_compatible - -From: Sam James - -[ Upstream commit 50c697215a8cc22f0e58c88f06f2716c05a26e85 ] - -Add missing include for strcmp. - -Clang 16 makes -Wimplicit-function-declaration an error by default. -Unfortunately, out of tree modules may use this in configure scripts, -which means failure might cause silent miscompilation or misconfiguration. - -For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2], -or the (new) c-std-porting mailing list [3]. - -[0] https://lwn.net/Articles/913505/ -[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 -[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 -[3] hosted at lists.linux.dev. - -[akpm@linux-foundation.org: remember "linux/"] -Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org -Signed-off-by: Sam James -Cc: -Signed-off-by: Andrew Morton -Signed-off-by: Sasha Levin ---- - include/linux/license.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/linux/license.h b/include/linux/license.h -index 7cce390f120b..ad937f57f2cb 100644 ---- a/include/linux/license.h -+++ b/include/linux/license.h -@@ -2,6 +2,8 @@ - #ifndef __LICENSE_H - #define __LICENSE_H - -+#include -+ - static inline int license_is_gpl_compatible(const char *license) - { - return (strcmp(license, "GPL") == 0 --- -2.35.1 - diff --git a/queue-6.0/series b/queue-6.0/series index 704f88b0f4b..ad012d268a0 100644 --- a/queue-6.0/series +++ b/queue-6.0/series @@ -2,7 +2,6 @@ btrfs-qgroup-fix-sleep-from-invalid-context-bug-in-b.patch drm-amdgpu-move-setting-the-job-resources.patch drm-amdgpu-cleanup-error-handling-in-amdgpu_cs_parse.patch drm-amdgpu-fix-userptr-hmm-range-handling-v2.patch -kbuild-fix-wimplicit-function-declaration-in-license.patch drm-amd-pm-add-smu_v13_0_10-driver-if-version.patch drm-amd-pm-update-driver-if-header-for-smu_v13_0_10.patch drm-amd-pm-update-driver-if-header-for-smu_13_0_7.patch