From f7a55ba381de17d8e5511a97441944b797aa62a5 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 7 Oct 2020 09:54:44 -0500 Subject: kernel-5.9.0-0.rc8.20201007git7575fdda569b.29 * Wed Oct 07 2020 Fedora Kernel Team [5.9.0-0.rc8.20201007git7575fdda569b.29] - Merge ark-patches Resolves: rhbz# Signed-off-by: Justin M. Forbes --- ...abi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 0001-redhat-rh_kabi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch (limited to '0001-redhat-rh_kabi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch') diff --git a/0001-redhat-rh_kabi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch b/0001-redhat-rh_kabi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch deleted file mode 100644 index cd083cc0b..000000000 --- a/0001-redhat-rh_kabi-Fix-RH_KABI_SET_SIZE-to-use-dereferen.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Tony Camuso -Date: Wed, 19 Feb 2020 11:52:17 +0100 -Subject: [PATCH] redhat: rh_kabi: Fix RH_KABI_SET_SIZE to use dereference - operator - -RH-Acked-by: Prarit Bhargava -RH-Acked-by: Jiri Benc - -Upstream Status: RHEL only - -Since this macro is intended to record the sizeof extension structs that -are dynamically allocated, using the structure dereference operator '->' -is a better choice, else the macro would have to be invoked with the -_name argument dereferenced as (*_name). - -Also added a short note explaining that, unlike the other RH_KABI -macros that are invoked from within structs, this macro is invoked -outside a struct and therefore needs a semicolon termination. - -Upstream Status: RHEL only -Signed-off-by: Tony Camuso -Signed-off-by: Jiri Benc ---- - include/linux/rh_kabi.h | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/include/linux/rh_kabi.h b/include/linux/rh_kabi.h -index d551df994583..9a4fea93ad99 100644 ---- a/include/linux/rh_kabi.h -+++ b/include/linux/rh_kabi.h -@@ -224,9 +224,11 @@ - * This macro MUST be called when expanding a base struct with - * RH_KABI_SIZE_AND_EXTEND, and it MUST be called from the allocation site - * regardless of being allocated in the kernel or a module. -+ * Note: since this macro is intended to be invoked outside of a struct, -+ * a semicolon is necessary at the end of the line where it is invoked. - */ - #define RH_KABI_SET_SIZE(_name, _struct) ({ \ -- _name._struct##_size_rh = sizeof(struct _struct##_rh); \ -+ _name->_struct##_size_rh = sizeof(struct _struct##_rh); \ - }) - - /* --- -2.28.0 - -- cgit