]> www.infradead.org Git - users/dwmw2/linux.git/commit
staging: gpib: replace dump function by print_hex_dump
authorKees Bakker <kees@ijzerbout.nl>
Thu, 17 Oct 2024 19:13:31 +0000 (21:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 08:02:08 +0000 (10:02 +0200)
commitcbf821e689916ef0c60b0bd8e69daa13a45f2016
tree0498e3fb8c84553f1c4d97ee60e75ee4578359de
parent0edaa545afbbcd7e8ff162f9fd8852c3589d2fa6
staging: gpib: replace dump function by print_hex_dump

It is better to use a standard (proven in use) in-kernel function that does
the same. This also solves two buffer overflow problems.

Signed-off-by: Kees Bakker <kees@ijzerbout.nl>
Link: https://lore.kernel.org/r/20241017191433.2E7BD18DAFE@bout3.ijzerbout.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/agilent_82357a/agilent_82357a.c
drivers/staging/gpib/ni_usb/ni_usb_gpib.c