From: zhengbin <zhengbin13@huawei.com> To: <alexander.deucher@amd.com>, <christian.koenig@amd.com>, <David1.Zhou@amd.com>, <airlied@linux.ie>, <daniel@ffwll.ch>, <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org> Cc: zhengbin13@huawei.com Subject: [PATCH 5/7] drm/radeon: use true,false for bool variable in rv770.c Date: Mon, 23 Dec 2019 17:25:50 +0800 [thread overview] Message-ID: <1577093152-10855-6-git-send-email-zhengbin13@huawei.com> (raw) In-Reply-To: <1577093152-10855-1-git-send-email-zhengbin13@huawei.com> Fixes coccicheck warning: drivers/gpu/drm/radeon/rv770.c:1706:2-15: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> --- drivers/gpu/drm/radeon/rv770.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 3fc461d..21f653a 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c @@ -1703,7 +1703,7 @@ static void rv770_uvd_init(struct radeon_device *rdev) * there. So it is pointless to try to go through that code * hence why we disable uvd here. */ - rdev->has_uvd = 0; + rdev->has_uvd = false; return; } rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: zhengbin <zhengbin13@huawei.com> To: <alexander.deucher@amd.com>, <christian.koenig@amd.com>, <David1.Zhou@amd.com>, <airlied@linux.ie>, <daniel@ffwll.ch>, <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org> Cc: zhengbin13@huawei.com Subject: [PATCH 5/7] drm/radeon: use true,false for bool variable in rv770.c Date: Mon, 23 Dec 2019 17:25:50 +0800 [thread overview] Message-ID: <1577093152-10855-6-git-send-email-zhengbin13@huawei.com> (raw) In-Reply-To: <1577093152-10855-1-git-send-email-zhengbin13@huawei.com> Fixes coccicheck warning: drivers/gpu/drm/radeon/rv770.c:1706:2-15: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> --- drivers/gpu/drm/radeon/rv770.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 3fc461d..21f653a 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c @@ -1703,7 +1703,7 @@ static void rv770_uvd_init(struct radeon_device *rdev) * there. So it is pointless to try to go through that code * hence why we disable uvd here. */ - rdev->has_uvd = 0; + rdev->has_uvd = false; return; } rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; -- 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2019-12-24 14:30 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-23 9:25 [PATCH 0/7] drm/radeon: use true,false for bool variable zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` [PATCH 1/7] drm/radeon: use true,false for bool variable in r100.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` [PATCH 2/7] drm/radeon: use true,false for bool variable in si.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` [PATCH 3/7] drm/radeon: use true,false for bool variable in r600.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` [PATCH 4/7] drm/radeon: use true, false for bool variable in evergreen.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` zhengbin [this message] 2019-12-23 9:25 ` [PATCH 5/7] drm/radeon: use true,false for bool variable in rv770.c zhengbin 2019-12-23 9:25 ` [PATCH 6/7] drm/radeon: use true,false for bool variable in cik.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 9:25 ` [PATCH 7/7] drm/radeon: use true,false for bool variable in ni.c zhengbin 2019-12-23 9:25 ` zhengbin 2019-12-23 19:40 ` [PATCH 0/7] drm/radeon: use true,false for bool variable Alex Deucher 2019-12-23 19:40 ` Alex Deucher
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1577093152-10855-6-git-send-email-zhengbin13@huawei.com \ --to=zhengbin13@huawei.com \ --cc=David1.Zhou@amd.com \ --cc=airlied@linux.ie \ --cc=alexander.deucher@amd.com \ --cc=amd-gfx@lists.freedesktop.org \ --cc=christian.koenig@amd.com \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.