summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2022-06-07 22:26:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 09:11:14 +0200
commitfed9e604eeb6150847d9757f6b056c12912d468b (patch)
tree5a14443dfb27103f4e0623eac8e1519d087c0a2b /scripts/gdb/linux/config.py
parent857fe9e5efc09833fe1110e99d8baba954a86abb (diff)
staging: r8188eu: add error handling of rtw_read16
rtw_read16() reads data from device via USB API which may fail. In case of any failure previous code returned stack data to callers, which is wrong. Fix it by changing rtw_read16() prototype and prevent caller from touching random stack data Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Link: https://lore.kernel.org/r/06b45afda048d0aeddeed983c2318680fe6265f5.1654629778.git.paskripkin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions