Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
To: Nirmoy Das <nirmoy.das@intel.com>, <intel-gfx@lists.freedesktop.org>
Cc: mchehab@kernel.org, rodrigo.vivi@intel.com,
	andrzej.hajda@intel.com, dri-devel@lists.freedesktop.org,
	chris@chris-wilson.co.uk
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Use "%zu" to format size_t
Date: Mon, 2 Jan 2023 15:20:22 +0200	[thread overview]
Message-ID: <ea3f6b18-aaff-fd54-6069-3bb497bc0f3a@intel.com> (raw)
In-Reply-To: <20221230183500.20553-1-nirmoy.das@intel.com>

Nirmoy, thanks for fixing it

Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>

On 12/30/22 8:35 PM, Nirmoy Das wrote:
> Switch to %zu for printing size_t which will
> fix compilation warning for 32-bit build.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
> ---
>   drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c b/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
> index e767791e40e0..114443096841 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
> @@ -238,7 +238,7 @@ static int shmem_get_pages(struct drm_i915_gem_object *obj)
>   			goto rebuild_st;
>   		} else {
>   			dev_warn(i915->drm.dev,
> -				 "Failed to DMA remap %lu pages\n",
> +				 "Failed to DMA remap %zu pages\n",
>   				 obj->base.size >> PAGE_SHIFT);
>   			goto err_pages;
>   		}

  parent reply	other threads:[~2023-01-02 13:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30 18:35 [Intel-gfx] [PATCH] drm/i915: Use "%zu" to format size_t Nirmoy Das
2022-12-30 19:07 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2022-12-30 19:37 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-01-03  8:11   ` Gwan-gyeong Mun
2023-01-03  9:03     ` Das, Nirmoy
2023-01-02 13:20 ` Gwan-gyeong Mun [this message]
2023-01-02 14:27 ` [Intel-gfx] [PATCH] " Andi Shyti
2023-01-04 12:51 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Use "%zu" to format size_t (rev2) Patchwork

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=ea3f6b18-aaff-fd54-6069-3bb497bc0f3a@intel.com \
    --to=gwan-gyeong.mun@intel.com \
    --cc=andrzej.hajda@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mchehab@kernel.org \
    --cc=nirmoy.das@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /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