Skip to contentSkip to conversation

lib-base64-fix-copy-pasted-padding-doc-in-base64_decode.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: lib/base64: fix copy-pasted @padding doc in base64_decode()
has been removed from the -mm tree. Its filename was
lib-base64-fix-copy-pasted-padding-doc-in-base64_decode.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Josh Law <[email protected]>
Subject: lib/base64: fix copy-pasted @padding doc in base64_decode()
Date: Tue, 24 Mar 2026 22:32:10 +0000

The @padding kernel-doc for base64_decode() says "whether to append '=' padding characters", which was copy-pasted from base64_encode(). In the decode context, it controls whether the input is expected to include padding, not whether to append it.

---

 lib/base64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/base64.c renamed from lib/base64.c~lib-base64-fix-copy-pasted-padding-doc-in-base64_decode +1 -1
@@ -122,7 +122,7 @@ EXPORT_SYMBOL_GPL(base64_encode);
  * @src: the string to decode.  Doesn't need to be NUL-terminated.
  * @srclen: the length of @src in bytes
  * @dst: (output) the decoded binary data
- * @padding: whether to append '=' padding characters
+ * @padding: whether the input is expected to include '=' padding characters
  * @variant: which base64 variant to use
  *
  * Decodes a string using the selected Base64 variant.

_

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

lib-idr-fix-ida_find_first_range-missing-ids-across-chunk-boundaries.patch