]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
slab: constify slab debug strings
authorPetr Tesarik <ptesarik@suse.com>
Fri, 24 Oct 2025 17:06:52 +0000 (19:06 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 27 Oct 2025 14:11:19 +0000 (15:11 +0100)
commitd3722ff57eadbb49ce5d08504dad19ac8d8cee69
tree2d094db8ad87f774e5a4d5005598abd844c4d190
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
slab: constify slab debug strings

Since the string passed to slab_debug is never modified, use pointers to
const char in all places where it is processed.

No functional changes intended.

Signed-off-by: Petr Tesarik <ptesarik@suse.com>
Reviewed-by: Christoph Lameter <cl@gentwo.org>
Link: https://patch.msgid.link/819095b921f6ae03bb54fd69ee4020e2a3aef675.1761324765.git.ptesarik@suse.com
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c