diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2023-12-20 23:41:05 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 12:22:28 -0800 |
commit | 22bb6bcd4c2b2f22865bdfdd7c772405ed3cbfd3 (patch) | |
tree | 67dfb7365fea94bdff70efda1ef628374db4baf2 /scripts | |
parent | 43132282d8efc3fe8a90ecd97a715559ed510b5d (diff) | |
download | lwn-22bb6bcd4c2b2f22865bdfdd7c772405ed3cbfd3.tar.gz lwn-22bb6bcd4c2b2f22865bdfdd7c772405ed3cbfd3.zip |
x86/kexec: fix incorrect argument passed to kexec_dprintk()
kexec_dprintk() expects the last argument to be kbuf.memsz, but the actual
argument being passed is kbuf.bufsz.
Although these two values are currently equal, it is better to pass the
correct one, in case these two values become different in the future.
Link: https://lkml.kernel.org/r/20231220154105.215610-1-ytcoode@gmail.com
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions