summaryrefslogtreecommitdiff
path: root/drivers/phy/spacemit/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorYu Peng <pengyu@kylinos.cn>2026-05-19 16:34:09 +0800
committerSteven Rostedt <rostedt@goodmis.org>2026-05-21 18:03:08 -0400
commit153498f200d295f3efa6bd37fc6e7ff105ab344f (patch)
treea53e1e4b040ab3bc8640fbb9236798229a24c729 /drivers/phy/spacemit/git@git.tavy.me:linux.git
parent5ec75d6a1b5b8beebea3bcaa85baad295ee09dcb (diff)
tracing: Use krealloc_array() for trace option array growth
Use krealloc_array() when growing tr->topts instead of open-coding the size calculation in krealloc(). This makes the resize path use the helper intended for array allocations and avoids manual multiplication of the element count and element size. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://patch.msgid.link/20260519083409.3885032-1-pengyu@kylinos.cn Signed-off-by: Yu Peng <pengyu@kylinos.cn> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/phy/spacemit/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions