summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-17 21:37:16 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-08-29 23:34:30 +0300
commit2c7c8cf656b2712ece061346848664ab5ace72c6 (patch)
tree9e7a9bf3e378dbc537868abc0064650767d96b91 /scripts/gdb/linux/interrupts.py
parent267ac0a800121dd450d0ed6cdbba9a8712b48c59 (diff)
downloadlinux-2c7c8cf656b2712ece061346848664ab5ace72c6.tar.xz
MIPS: octeon: Replace memset(0) + deprecated strcpy() with strscpy_pad()
Replace memset(0) followed by the deprecated strcpy() with strscpy_pad() to improve octeon_fdt_set_phy(). This avoids zeroing the memory before copying the string and ensures the destination buffer is only written to once, simplifying the code and improving efficiency. Link: https://github.com/KSPP/linux/issues/88 Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Justin Stitt <justinstitt@google.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions