aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-05-08 15:07:00 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-06-11 16:04:55 +0200
commitae9daffd9028f2500c9ac1517e46d4f2b57efb80 (patch)
treef5aa79f9be663ecc6fedb103c71799521d53fe0d /scripts/gdb/linux/vmalloc.py
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
MIPS: Routerboard 532: Fix vendor retry check code
read_config_dword() contains strange condition checking ret for a number of values. The ret variable, however, is always zero because config_access() never returns anything else. Thus, the retry is always taken until number of tries is exceeded. The code looks like it wants to check *val instead of ret to see if the read gave an error response. Fixes: 73b4390fb234 ("[MIPS] Routerboard 532: Support for base system") Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions