diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-11-21 10:22:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-25 07:23:17 +0000 |
commit | 9d3e3301ae9958809b4d96787eaf76221c704ed6 (patch) | |
tree | 67e098eaa82ab70e51bb418ca3882454334e2433 /scripts/gdb/linux/mm.py | |
parent | 73b2ed3675697f1b20d5fa3408397c65a2cbc13e (diff) |
tty: ehv_bytecha: use memcpy_and_pad() in local_ev_byte_channel_send()
There is a helper for memcpy(buffer)+memset(the_rest). Use it for
simplicity.
And add a comment why we are doing the copy in the first place.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lore.kernel.org/r/20231121092258.9334-8-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions