aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2023-03-20 23:05:34 +0000
committerMasahiro Yamada <[email protected]>2023-04-16 08:37:01 +0000
commit735faf92fb06d083ddcf6cfcf6665666dea5dcc1 (patch)
tree08a78a75e3996ab7ad007d267f94f921f2ab12f0 /tools/perf/scripts/python/net_dropmonitor.py
parentinitramfs: Check negative timestamp to prevent broken cpio archive (diff)
downloadkernel-735faf92fb06d083ddcf6cfcf6665666dea5dcc1.tar.gz
kernel-735faf92fb06d083ddcf6cfcf6665666dea5dcc1.zip
init/initramfs: Fix argument forwarding to panic() in panic_show_mem()
Forwarding variadic argument lists can't be done by passing a va_list to a function with signature foo(...) (as panic() has). It ends up interpreting the va_list itself as a single argument instead of iterating it. printf() happily accepts it of course, leading to corrupt output. Convert panic_show_mem() to a macro to allow forwarding the arguments. The function is trivial enough that it's easier than trying to introduce a vpanic() variant. Signed-off-by: Benjamin Gray <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions