AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Huang Rui <ray.huang-5C7GfCeVMHo@public.gmane.org>
To: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 1/2] drm/amdgpu/soc15: fix warnings in register macro
Date: Thu, 27 Sep 2018 18:31:16 +0800	[thread overview]
Message-ID: <20180927103106.GH30495@hr-amur2> (raw)
In-Reply-To: <20180926162517.6467-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

On Wed, Sep 26, 2018 at 11:25:16AM -0500, Alex Deucher wrote:
> expects argument of type ‘unsigned int’ has type ‘long int’
> 
> Fixes: 52e211c1f04 ("drm/amdgpu:Add error message when register failed to reach expected value")
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Series are Reviewed-by: Huang Rui <ray.huang@amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/soc15_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15_common.h b/drivers/gpu/drm/amd/amdgpu/soc15_common.h
> index d35fac5b5a8a..958b10a57073 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15_common.h
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15_common.h
> @@ -57,7 +57,7 @@
>  			loop--;					\
>  			if (!loop) {				\
>  				DRM_ERROR("Register(%d) [%s] failed to reach value 0x%08x != 0x%08x\n", \
> -							inst, #reg, expected_value, (tmp_ & (mask))); \
> +					  inst, #reg, (unsigned)expected_value, (unsigned)(tmp_ & (mask))); \
>  				ret = -ETIMEDOUT;		\
>  				break;				\
>  			}					\
> -- 
> 2.13.6
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

      parent reply	other threads:[~2018-09-27 10:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-26 16:25 [PATCH 1/2] drm/amdgpu/soc15: fix warnings in register macro Alex Deucher
     [not found] ` <20180926162517.6467-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-09-26 16:25   ` [PATCH 2/2] drm/amdgpu/vcn: whitespace cleanup Alex Deucher
2018-09-26 16:38   ` [PATCH 1/2] drm/amdgpu/soc15: fix warnings in register macro Christian König
2018-09-26 17:18   ` James Zhu
2018-09-27 10:31   ` Huang Rui [this message]

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=20180927103106.GH30495@hr-amur2 \
    --to=ray.huang-5c7gfcevmho@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox