summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJosh Law <objecting@objecting.org>2026-03-18 15:59:11 +0000
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2026-03-19 08:43:43 +0900
commit73a9f74b86c6b88d1b6aec82adea56074ef2a9b9 (patch)
treeeae98e0814bf0296af2b3ba72e7a61ed9711deac /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parentae9bf4d3835fb1cd3f79ea74e96e6ab6cfe8f415 (diff)
lib/bootconfig: drop redundant memset of xbc_nodes
memblock_alloc() already returns zeroed memory, so the explicit memset in xbc_init() is redundant. Switch the userspace xbc_alloc_mem() from malloc() to calloc() so both paths return zeroed memory, and remove the separate memset call. Link: https://lore.kernel.org/all/20260318155919.78168-6-objecting@objecting.org/ Signed-off-by: Josh Law <objecting@objecting.org> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions