summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2014-07-23 13:47:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-23 18:12:23 -0700
commit6b866095276690ea5018d9d604ecba1cd04c2023 (patch)
tree889d0fe7e9983c3264476a0bb5863786d0af10a1 /tools/perf/scripts/python/bin
parent22d3970de02cd759df634da9566570c558f1fffa (diff)
drivers/staging/bcm/Misc.c: fix a check
The issue was reported by static analysis. The value holding flags was &-ed with 0x02, being compared to 0x01 (TRUE) after that. Such comparsion is always false. Resolution: drop the comparsion to TRUE in the condition. &-ing with 0x02 is right, according to result variable name (reporting_mode) and description in drivers/staging/bcm/target_params.h ("bit 1 = 1: CINR reporting in Idlemode Msg"). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80801 Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions