aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2019-09-26 07:31:38 +0000
committerGreg Kroah-Hartman <[email protected]>2019-10-01 06:22:44 +0000
commit22d67a01d8d89552b989c9651419824bb4111200 (patch)
tree4ed4493d7a07b7b89f4ce6f40092e50889abac5b /tools/perf/scripts/python/event_analyzing_sample.py
parentstaging: rtl8188eu: fix null dereference when kzalloc fails (diff)
downloadkernel-22d67a01d8d89552b989c9651419824bb4111200.tar.gz
kernel-22d67a01d8d89552b989c9651419824bb4111200.zip
staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()
It's incorrect to compare HighestRate with 0x0b twice in the following manner "if (HighestRate > 0x0b) ... else if (HighestRate > 0x0b) ...". The "else if" branch is constantly false. The second comparision should be with 0x03 according to the max_rate_idx in ODM_RAInfo_Init(). Cc: Michael Straube <[email protected]> Cc: [email protected] Signed-off-by: Denis Efremov <[email protected]> Acked-by: Larry Finger <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions