Skip to contentSkip to conversation

documentation-core-api-min_heap-update-for-variable-types-change.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Feb 18, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: Documentation/core-api: min_heap: update for variable types change
has been removed from the -mm tree. Its filename was
documentation-core-api-min_heap-update-for-variable-types-change.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Yu-Chun Lin <[email protected]>
Subject: Documentation/core-api: min_heap: update for variable types change
Date: Sat, 15 Feb 2025 23:54:21 +0800

Update the documentation to reflect the change in variable types of 'nr' and 'size' from 'int' to 'size_t', ensuring consistency with commit dec6c0aac4fc ("lib min_heap: Switch to size_t").

---

 Documentation/core-api/min_heap.rst |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/core-api/min_heap.rst renamed from Documentation/core-api/min_heap.rst~documentation-core-api-min_heap-update-for-variable-types-change +2 -2
@@ -47,8 +47,8 @@ Example:
 
     #define MIN_HEAP_PREALLOCATED(_type, _name, _nr)
     struct _name {
-        int nr;         /* Number of elements in the heap */
-        int size;       /* Maximum number of elements that can be held */
+        size_t nr;         /* Number of elements in the heap */
+        size_t size;       /* Maximum number of elements that can be held */
         _type *data;    /* Pointer to the heap data */
         _type preallocated[_nr];  /* Static preallocated array */
     }

_

Patches currently in -mm which might be from [email protected] are