aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-04-22 16:09:58 +0200
committerGreg Kroah-Hartman <[email protected]>2022-04-22 16:48:31 +0200
commita2b5fd298130ad38d61c3fff1a6aa7dd0c1d02ea (patch)
tree6562d4dfb3e9c0c4c400351e59f9952edf25b0bd /tools/perf/scripts/python/netdev-times.py
parente36c9c00188458d4843d68cae947e64d99259b0e (diff)
staging: r8188eu: fix the index check in mgt_dispatcher
In mgt_dispatcher, we check that index is a valid index for the mlme_sta_tbl array. The valid indices for this array are from 0 to ARRAY_SIZE(mlme_sta_tbl) - 1. An invalid index is >= ARRAY_SIZE(mlme_sta_tbl). Fix the off by one error in the check. Fixes: db84803cd8de ("staging: r8188eu: use ARRAY_SIZE for mlme_sta_tbl") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions