summaryrefslogtreecommitdiffstats
path: root/patch-5.17-redhat.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-02-18 11:41:08 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-02-18 11:41:08 -0600
commit5ff17644e3967601fff6f4a300632fc2fb37c007 (patch)
tree6d641883c8ad8b851c1b2c072bef2bf7d3337c45 /patch-5.17-redhat.patch
parent4d39407806f2c1fca6a1645d15deac8b9e855bf6 (diff)
downloadkernel-5ff17644e3967601fff6f4a300632fc2fb37c007.tar.gz
kernel-5ff17644e3967601fff6f4a300632fc2fb37c007.tar.xz
kernel-5ff17644e3967601fff6f4a300632fc2fb37c007.zip
kernel-5.17-0.rc4.9195e5e0adbb.100
* Fri Feb 18 2022 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.17-0.rc4.9195e5e0adbb.100] - mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning (Waiman Long) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'patch-5.17-redhat.patch')
-rw-r--r--patch-5.17-redhat.patch25
1 files changed, 1 insertions, 24 deletions
diff --git a/patch-5.17-redhat.patch b/patch-5.17-redhat.patch
index 9de2761b4..cd6165578 100644
--- a/patch-5.17-redhat.patch
+++ b/patch-5.17-redhat.patch
@@ -74,8 +74,7 @@
security/lockdown/Kconfig | 13 +
security/lockdown/lockdown.c | 1 +
security/security.c | 6 +
- tools/lib/subcmd/subcmd-util.h | 11 +-
- 77 files changed, 1746 insertions(+), 200 deletions(-)
+ 76 files changed, 1744 insertions(+), 191 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index f5a27f067db9..f4dc42f2f82a 100644
@@ -3435,25 +3434,3 @@ index 22261d79f333..20336365f864 100644
#ifdef CONFIG_PERF_EVENTS
int security_perf_event_open(struct perf_event_attr *attr, int type)
{
-diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h
-index 794a375dad36..b2aec04fce8f 100644
---- a/tools/lib/subcmd/subcmd-util.h
-+++ b/tools/lib/subcmd/subcmd-util.h
-@@ -50,15 +50,8 @@ static NORETURN inline void die(const char *err, ...)
- static inline void *xrealloc(void *ptr, size_t size)
- {
- void *ret = realloc(ptr, size);
-- if (!ret && !size)
-- ret = realloc(ptr, 1);
-- if (!ret) {
-- ret = realloc(ptr, size);
-- if (!ret && !size)
-- ret = realloc(ptr, 1);
-- if (!ret)
-- die("Out of memory, realloc failed");
-- }
-+ if (!ret)
-+ die("Out of memory, realloc failed");
- return ret;
- }
-