]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/base64: fix copy-pasted @padding doc in base64_decode()
authorJosh Law <objecting@objecting.org>
Tue, 24 Mar 2026 22:32:10 +0000 (22:32 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:43 +0000 (21:24 -0700)
commitf424800c2a23d9fdc1355bdaf46ad2bc89741436
tree04ff67abea6730d30c363093e07c7040665d5885
parentcae29a5787e38ce7ec7727a87ac7e393a85cb1ef
lib/base64: fix copy-pasted @padding doc in base64_decode()

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.

Link: https://lore.kernel.org/20260324223210.47676-3-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/base64.c