aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorMarc Hartmayer <[email protected]>2018-01-09 13:27:04 +0100
committerPaolo Bonzini <[email protected]>2018-02-24 01:43:40 +0100
commit369d5a85bb782ecf63c5bae9686c7e6104eea991 (patch)
tree224a1ffa29e984ecb85dc213bdf6d4293c2bffaf /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent0eb578009a1d530a11846d7c4733a5db04730884 (diff)
tools/kvm_stat: avoid 'is' for equality checks
Use '==' for equality checks and 'is' when comparing identities. An example where '==' and 'is' behave differently: >>> a = 4242 >>> a == 4242 True >>> a is 4242 False Signed-off-by: Marc Hartmayer <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions