Skip to contentSkip to conversation

drm/i915: Use "%zu" to format size_t

PATCH In review Nirmoy Das 5 participants 8 messages Dec 30, 2022 – Jan 4, 2023

Subsystems (2)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/i915: Use "%zu" to format size_t

Switch to %zu for printing size_t which will
fix compilation warning for 32-bit build.

---
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +1 -1
index e767791e40e0..114443096841 100644
@@ -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;
 		}
Signature · 1 line
2.38.0
#1 lore raw

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Use "%zu" to format size_t

== Series Details ==

== Series Details ==

Series: drm/i915: Use "%zu" to format size_t
URL : https://patchwork.freedesktop.org/series/112317/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.

#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Use "%zu" to format size_t

In reply to Nirmoy Das
== Series Details ==

== Series Details ==

Series: drm/i915: Use "%zu" to format size_t
URL : https://patchwork.freedesktop.org/series/112317/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12532 -> Patchwork_112317v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_112317v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_112317v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html

Participating hosts (44 -> 43)
------------------------------

Additional (1): fi-kbl-soraka
Missing (2): fi-rkl-11600 fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_112317v1:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@slpc:
- fi-kbl-soraka: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@[email protected]

Known issues
------------

Here are the changes found in Patchwork_112317v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_gttfill@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271]) +7 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [PASS][5] -> [DMESG-FAIL][6] ([i915#5334])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][7] ([i915#1886])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][8] ([fdo#109271] / [fdo#111827])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][9] ([fdo#109271] / [fdo#111827]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][10] ([i915#4785]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-hsw-4770/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- {bat-rpls-1}: [INCOMPLETE][12] ([i915#6257]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-1/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@reset:
- {bat-rpls-2}: [DMESG-FAIL][14] ([i915#4983]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-2/igt@i915_selftest@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-2/igt@i915_selftest@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#7336]: https://gitlab.freedesktop.org/drm/intel/issues/7336

Build changes
-------------

* Linux: CI_DRM_12532 -> Patchwork_112317v1

CI-20190529: 20190529
CI_DRM_12532: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7104: fe5def13049225967770eaaf19ec01ef80e2adc5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112317v1: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

c0b7c80b83b2 drm/i915: Use "%zu" to format size_t

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html

#3 lore raw

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Use "%zu" to format size_t

This fix has nothing to do with IGT Possible regression.
This fixes the code that raised build warnings in 32-bit environments. And this patch has been merged.

Quoted 170 lines · Patchwork

*Patch Details*
*Series:* drm/i915: Use "%zu" to format size_t
*URL:* https://patchwork.freedesktop.org/series/112317/ <https://patchwork.freedesktop.org/series/112317/>
*State:* failure
*Details:* https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html>

CI Bug Log - changes from CI_DRM_12532 -> Patchwork_112317v1

Summary

*FAILURE*

Serious unknown changes coming with Patchwork_112317v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_112317v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html

    Participating hosts (44 -> 43)

Additional (1): fi-kbl-soraka
Missing (2): fi-rkl-11600 fi-snb-2520m

Possible new issues

Here are the unknown changes that may have been introduced in Patchwork_112317v1:

IGT changes

Possible regressions

* igt@i915_selftest@live@slpc:
o fi-kbl-soraka: NOTRUN -> INCOMPLETE
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@[email protected]>

Known issues

Here are the changes found in Patchwork_112317v1 that come from known issues:

IGT changes

Issues hit

*

    igt@gem_exec_gttfill@basic:

      o fi-kbl-soraka: NOTRUN -> SKIP
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
        <https://bugs.freedesktop.org/show_bug.cgi?id=109271>) +7
        similar issues

*

    igt@gem_huc_copy@huc-copy:

      o fi-kbl-soraka: NOTRUN -> SKIP
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
        <https://bugs.freedesktop.org/show_bug.cgi?id=109271> /
        i915#2190 <https://gitlab.freedesktop.org/drm/intel/issues/2190>)

*

    igt@gem_lmem_swapping@basic:

      o fi-kbl-soraka: NOTRUN -> SKIP
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
        <https://bugs.freedesktop.org/show_bug.cgi?id=109271> /
        i915#4613
        <https://gitlab.freedesktop.org/drm/intel/issues/4613>) +3
        similar issues

*

    igt@i915_selftest@live@gt_heartbeat:

      o fi-apl-guc: PASS
        <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html>
        -> DMESG-FAIL
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html>
        (i915#5334 <https://gitlab.freedesktop.org/drm/intel/issues/5334>)

*

    igt@i915_selftest@live@gt_pm:

      o fi-kbl-soraka: NOTRUN -> DMESG-FAIL
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html>
        (i915#1886 <https://gitlab.freedesktop.org/drm/intel/issues/1886>)

*

    igt@kms_chamelium@common-hpd-after-suspend:

      o fi-hsw-4770: NOTRUN -> SKIP
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@[email protected]>
        (fdo#109271
        <https://bugs.freedesktop.org/show_bug.cgi?id=109271> /
        fdo#111827 <https://bugs.freedesktop.org/show_bug.cgi?id=111827>)

*

    igt@kms_chamelium@hdmi-hpd-fast:

      o fi-kbl-soraka: NOTRUN -> SKIP
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
        <https://bugs.freedesktop.org/show_bug.cgi?id=109271> /
        fdo#111827
        <https://bugs.freedesktop.org/show_bug.cgi?id=111827>) +7
        similar issues


        Possible fixes

*

    igt@i915_selftest@live@hangcheck:

      o fi-hsw-4770: INCOMPLETE
        <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-hsw-4770/igt@i915_selftest@[email protected]>
        (i915#4785
        <https://gitlab.freedesktop.org/drm/intel/issues/4785>) -> PASS
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@i915_selftest@[email protected]>

*

    igt@i915_selftest@live@requests:

      o {bat-rpls-1}: INCOMPLETE
        <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-1/igt@i915_selftest@[email protected]>
        (i915#6257
        <https://gitlab.freedesktop.org/drm/intel/issues/6257>) -> PASS
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-1/igt@i915_selftest@[email protected]>

*

    igt@i915_selftest@live@reset:

      o {bat-rpls-2}: DMESG-FAIL
        <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-2/igt@i915_selftest@[email protected]>
        (i915#4983
        <https://gitlab.freedesktop.org/drm/intel/issues/4983>) -> PASS
        <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-2/igt@i915_selftest@[email protected]>

{name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).

Build changes

* Linux: CI_DRM_12532 -> Patchwork_112317v1

CI-20190529: 20190529
CI_DRM_12532: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7104: fe5def13049225967770eaaf19ec01ef80e2adc5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112317v1: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux

Linux commits

c0b7c80b83b2 drm/i915: Use "%zu" to format size_t

#4 lore raw

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Use "%zu" to format size_t

Yes makes sense, thanks, G.G.

Quoted 174 lines · Gwan-gyeong Mun

This fix has nothing to do with IGT Possible regression.
This fixes the code that raised build warnings in 32-bit environments. And this patch has been merged.

Quoted 170 lines · Patchwork

*Patch Details*
*Series:*    drm/i915: Use "%zu" to format size_t
*URL:*    https://patchwork.freedesktop.org/series/112317/ <https://patchwork.freedesktop.org/series/112317/>
*State:*    failure
*Details:* https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html>

  CI Bug Log - changes from CI_DRM_12532 -> Patchwork_112317v1

    Summary

*FAILURE*

Serious unknown changes coming with Patchwork_112317v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_112317v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/index.html

    Participating hosts (44 -> 43)

Additional (1): fi-kbl-soraka
Missing (2): fi-rkl-11600 fi-snb-2520m

    Possible new issues

Here are the unknown changes that may have been introduced in Patchwork_112317v1:

      IGT changes

        Possible regressions

  * igt@i915_selftest@live@slpc:
      o fi-kbl-soraka: NOTRUN -> INCOMPLETE
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@[email protected]>

    Known issues

Here are the changes found in Patchwork_112317v1 that come from known issues:

      IGT changes

        Issues hit

  *

    igt@gem_exec_gttfill@basic:

      o fi-kbl-soraka: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271>) +7 similar issues
  *

    igt@gem_huc_copy@huc-copy:

      o fi-kbl-soraka: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#2190 <https://gitlab.freedesktop.org/drm/intel/issues/2190>)
  *

    igt@gem_lmem_swapping@basic:

      o fi-kbl-soraka: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#4613
<https://gitlab.freedesktop.org/drm/intel/issues/4613>) +3 similar issues
  *

    igt@i915_selftest@live@gt_heartbeat:

      o fi-apl-guc: PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html>
        -> DMESG-FAIL
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html>
        (i915#5334 <https://gitlab.freedesktop.org/drm/intel/issues/5334>)
  *

    igt@i915_selftest@live@gt_pm:

      o fi-kbl-soraka: NOTRUN -> DMESG-FAIL
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html>
        (i915#1886 <https://gitlab.freedesktop.org/drm/intel/issues/1886>)
  *

    igt@kms_chamelium@common-hpd-after-suspend:

      o fi-hsw-4770: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@[email protected]>
        (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / fdo#111827 <https://bugs.freedesktop.org/show_bug.cgi?id=111827>)
  *

    igt@kms_chamelium@hdmi-hpd-fast:

      o fi-kbl-soraka: NOTRUN -> SKIP
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-kbl-soraka/igt@[email protected]>
        (fdo#109271
<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / fdo#111827
<https://bugs.freedesktop.org/show_bug.cgi?id=111827>) +7 similar issues

        Possible fixes

  *

    igt@i915_selftest@live@hangcheck:

      o fi-hsw-4770: INCOMPLETE
<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/fi-hsw-4770/igt@i915_selftest@[email protected]>
        (i915#4785
<https://gitlab.freedesktop.org/drm/intel/issues/4785>) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/fi-hsw-4770/igt@i915_selftest@[email protected]>
  *

    igt@i915_selftest@live@requests:

      o {bat-rpls-1}: INCOMPLETE
<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-1/igt@i915_selftest@[email protected]>
        (i915#6257
<https://gitlab.freedesktop.org/drm/intel/issues/6257>) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-1/igt@i915_selftest@[email protected]>
  *

    igt@i915_selftest@live@reset:

      o {bat-rpls-2}: DMESG-FAIL
<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12532/bat-rpls-2/igt@i915_selftest@[email protected]>
        (i915#4983
<https://gitlab.freedesktop.org/drm/intel/issues/4983>) -> PASS
<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v1/bat-rpls-2/igt@i915_selftest@[email protected]>

{name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).

    Build changes

  * Linux: CI_DRM_12532 -> Patchwork_112317v1

CI-20190529: 20190529
CI_DRM_12532: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7104: fe5def13049225967770eaaf19ec01ef80e2adc5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112317v1: 91195847031b60062eb046b8bb0c9e64a2291e10 @ git://anongit.freedesktop.org/gfx-ci/linux

      Linux commits

c0b7c80b83b2 drm/i915: Use "%zu" to format size_t

Reviewed-by on v1 1/1
#5 lore raw
In reply to Nirmoy Das

Nirmoy, thanks for fixing it

Quoted 22 lines · Nirmoy Das

Switch to %zu for printing size_t which will
fix compilation warning for 32-bit build.

---
  drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +1 -1
index e767791e40e0..114443096841 100644
@@ -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;
  		}
Reviewed-by on v1 1/1
#6 lore raw
In reply to Nirmoy Das
Quoted 5 lines · Nirmoy Das

Switch to %zu for printing size_t which will
fix compilation warning for 32-bit build.

Andi

Quoted 19 lines
---
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +1 -1
index e767791e40e0..114443096841 100644
@@ -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;
 		}
Signature · 1 line
2.38.0
#7 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Use "%zu" to format size_t (rev2)

In reply to Nirmoy Das
== Series Details ==

== Series Details ==

Series: drm/i915: Use "%zu" to format size_t (rev2)
URL : https://patchwork.freedesktop.org/series/112317/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12536 -> Patchwork_112317v2
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_112317v2 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_112317v2, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/index.html

Participating hosts (45 -> 43)
------------------------------

Missing (2): bat-dg2-oem1 fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_112317v2:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@guc:
- fi-kbl-soraka: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/fi-kbl-soraka/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/fi-kbl-soraka/igt@i915_selftest@[email protected]

Known issues
------------

Here are the changes found in Patchwork_112317v2 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
- fi-bsw-kefka: [PASS][3] -> [FAIL][4] ([i915#6298])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html

#### Possible fixes ####

* igt@i915_module_load@load:
- fi-kbl-soraka: [DMESG-WARN][5] ([i915#1982]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/fi-kbl-soraka/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/fi-kbl-soraka/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][7] ([i915#5334]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
- fi-kbl-soraka: [DMESG-FAIL][9] ([i915#5334]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html

* igt@kms_cursor_legacy@basic-flip-before-cursor@atomic-transitions-varying-size:
- {bat-adlp-9}: [FAIL][11] ([i915#4289]) -> [PASS][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12536/bat-adlp-9/igt@kms_cursor_legacy@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/bat-adlp-9/igt@kms_cursor_legacy@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#3003]: https://gitlab.freedesktop.org/drm/intel/issues/3003
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4289]: https://gitlab.freedesktop.org/drm/intel/issues/4289
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7077]: https://gitlab.freedesktop.org/drm/intel/issues/7077

Build changes
-------------

* Linux: CI_DRM_12536 -> Patchwork_112317v2

CI-20190529: 20190529
CI_DRM_12536: 4c18d8b1c2a1f11e99f865f60fbce9fedd3376fc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7105: 305e8d105abf033cb850d1fb118e5cbfb6c9cd40 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112317v2: 4c18d8b1c2a1f11e99f865f60fbce9fedd3376fc @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

27d75d906f1b drm/i915: Use "%zu" to format size_t

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112317v2/index.html