diff options
author | 2014-04-05 15:14:22 -0600 | |
---|---|---|
committer | 2014-04-25 11:19:06 -0600 | |
commit | 67ebd8140dc8923c65451fa0f6a8eee003c4dcd3 (patch) | |
tree | 23c3dfa6a8a664116e33d5c74ee39e8ee96fe987 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Use designated initialization in PCI_VDEVICE (diff) | |
download | linux-dev-67ebd8140dc8923c65451fa0f6a8eee003c4dcd3.tar.xz linux-dev-67ebd8140dc8923c65451fa0f6a8eee003c4dcd3.zip |
PCI: Fix incorrect vgaarb conditional in WARN_ON()
3448a19da479 "vgaarb: use bridges to control VGA routing where possible"
added the "flags & PCI_VGA_STATE_CHANGE_DECODES" condition to an existing
WARN_ON(), but used bitwise AND (&) instead of logical AND (&&), so the
condition is never true. Replace with logical AND.
Found by Coverity (CID 142811).
Fixes: 3448a19da479 "vgaarb: use bridges to control VGA routing where possible"
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: David Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions