summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-06-03 01:47:22 +0300
committerPaul Walmsley <pjw@kernel.org>2026-06-07 10:06:19 +0300
commite0fd2599f50025d83a0f2ec01c63d204de2c173e (patch)
treec692bef2291da431677d43148f24d0287ca5b5f1 /include/linux/debugobjects.h
parent2abd0dba562551d5c27f97ce560684f534c0cf3a (diff)
downloadlinux-e0fd2599f50025d83a0f2ec01c63d204de2c173e.tar.xz
riscv: kexec: use min to simplify riscv_kexec_elf_load
Use min() to replace the open-coded version and assign the result directly to kbuf.bufsz. Drop the now-unused local size variable. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260602224725.1088385-3-thorsten.blum@linux.dev Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions