diff options
author | 2020-07-28 20:55:07 +0800 | |
---|---|---|
committer | 2020-07-29 08:48:19 +0200 | |
commit | 85b3bfa266e8421afab5e75b8306003e97990a4a (patch) | |
tree | 50f23c5988c307582a282347e8f37763b165409c /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/ingenic: Validate mode in a .mode_valid callback (diff) | |
download | linux-dev-85b3bfa266e8421afab5e75b8306003e97990a4a.tar.xz linux-dev-85b3bfa266e8421afab5e75b8306003e97990a4a.zip |
drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable
fixed the following warning:
hibmc_drm_drv.c:296:1-18:WARNING: Assignment of 0/1 to bool variable.
hibmc_drm_drv.c:301:2-19: WARNING: Assignment of 0/1 to bool variable.
v2:
using the pci_dev.msi_enabled instead of priv->msi_enabled.
v3:
just call pci_enable_msi() and pci_disable_msi(), it's no need to
set dev->pdev->msi_enabled again.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-By: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1595940907-17874-1-git-send-email-tiantao6@hisilicon.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions