* [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning
@ 2019-10-13 19:08 Juha-Pekka Heikkila
2019-10-14 14:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Juha-Pekka Heikkila @ 2019-10-13 19:08 UTC (permalink / raw)
To: igt-dev
casting void pointer to int pointer causes gcc to be unhapy with comment:
"warning: dereferencing type-punned pointer will break strict-aliasing
rules"
change:
*((int *) CMSG_DATA(cmsg)) = timeline;
to:
memcpy(CMSG_DATA(cmsg), &timeline, sizeof(timeline));
so everyting is nicely defined for compiler.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
tests/sw_sync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sw_sync.c b/tests/sw_sync.c
index 62d1d17..626b6d3 100644
--- a/tests/sw_sync.c
+++ b/tests/sw_sync.c
@@ -228,7 +228,7 @@ static void test_sync_busy_fork_unixsocket(void)
cmsg->cmsg_type = SCM_RIGHTS;
cmsg->cmsg_len = CMSG_LEN(sizeof(timeline));
- *((int *) CMSG_DATA(cmsg)) = timeline;
+ memcpy(CMSG_DATA(cmsg), &timeline, sizeof(timeline));
msg.msg_controllen = cmsg->cmsg_len;
igt_assert_f(sync_fence_wait(fence, 0) == -ETIME,
--
2.7.4
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/sw_sync: fix gcc warning
2019-10-13 19:08 [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning Juha-Pekka Heikkila
@ 2019-10-14 14:26 ` Patchwork
2019-10-14 20:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-10-15 10:52 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-10-14 14:26 UTC (permalink / raw)
To: Juha-Pekka Heikkilä; +Cc: igt-dev
== Series Details ==
Series: tests/sw_sync: fix gcc warning
URL : https://patchwork.freedesktop.org/series/67956/
State : success
== Summary ==
CI Bug Log - changes from IGT_5225 -> IGTPW_3566
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
Known issues
------------
Here are the changes found in IGTPW_3566 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_flink_basic@bad-open:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-icl-u3/igt@gem_flink_basic@bad-open.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-icl-u3/igt@gem_flink_basic@bad-open.html
* igt@kms_busy@basic-flip-a:
- fi-icl-u3: [PASS][3] -> [INCOMPLETE][4] ([fdo#107713])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-icl-u3/igt@kms_busy@basic-flip-a.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-icl-u3/igt@kms_busy@basic-flip-a.html
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#109635 ] / [fdo#110387])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [PASS][7] -> [DMESG-WARN][8] ([fdo#102614])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- {fi-tgl-u}: [INCOMPLETE][9] ([fdo#111735]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-tgl-u/igt@gem_ctx_create@basic-files.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-tgl-u/igt@gem_ctx_create@basic-files.html
- {fi-icl-dsi}: [INCOMPLETE][11] ([fdo#107713] / [fdo#109100]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-icl-dsi/igt@gem_ctx_create@basic-files.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-icl-dsi/igt@gem_ctx_create@basic-files.html
* igt@gem_exec_suspend@basic:
- {fi-icl-u4}: [FAIL][13] ([fdo#111699]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-icl-u4/igt@gem_exec_suspend@basic.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-icl-u4/igt@gem_exec_suspend@basic.html
* igt@gem_flink_basic@bad-flink:
- fi-icl-u3: [DMESG-WARN][15] ([fdo#107724]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-icl-u3/igt@gem_flink_basic@bad-flink.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-icl-u3/igt@gem_flink_basic@bad-flink.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][17] ([fdo#111045] / [fdo#111096]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-blb-e6850: [INCOMPLETE][19] ([fdo#107718]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/fi-blb-e6850/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/fi-blb-e6850/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111699]: https://bugs.freedesktop.org/show_bug.cgi?id=111699
[fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735
Participating hosts (53 -> 46)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-skl-6700k2
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5225 -> IGTPW_3566
CI-20190529: 20190529
CI_DRM_7085: d496dd711013bc80eda3bd6e564d7cda6bbdbdf4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3566: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
IGT_5225: 991ce4eede1c52f76378aebf162a13c20d6f6293 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/sw_sync: fix gcc warning
2019-10-13 19:08 [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning Juha-Pekka Heikkila
2019-10-14 14:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-10-14 20:08 ` Patchwork
2019-10-15 10:52 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-10-14 20:08 UTC (permalink / raw)
To: Juha-Pekka Heikkilä; +Cc: igt-dev
== Series Details ==
Series: tests/sw_sync: fix gcc warning
URL : https://patchwork.freedesktop.org/series/67956/
State : success
== Summary ==
CI Bug Log - changes from IGT_5225_full -> IGTPW_3566_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3566_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@kms_frontbuffer_tracking@psr-1p-pri-indfb-multidraw:
- {shard-tglb}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-pri-indfb-multidraw.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-pri-indfb-multidraw.html
Known issues
------------
Here are the changes found in IGTPW_3566_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb7/igt@gem_ctx_shared@exec-single-timeline-bsd.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb1/igt@gem_ctx_shared@exec-single-timeline-bsd.html
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#111325]) +6 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb7/igt@gem_exec_schedule@preemptive-hang-bsd.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb4/igt@gem_exec_schedule@preemptive-hang-bsd.html
* igt@gem_tiled_swapping@non-threaded:
- shard-apl: [PASS][7] -> [INCOMPLETE][8] ([fdo#103927] / [fdo#108686])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-apl7/igt@gem_tiled_swapping@non-threaded.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-apl3/igt@gem_tiled_swapping@non-threaded.html
- shard-glk: [PASS][9] -> [DMESG-FAIL][10] ([fdo#108686])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-glk9/igt@gem_tiled_swapping@non-threaded.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-glk3/igt@gem_tiled_swapping@non-threaded.html
* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-hsw: [PASS][11] -> [DMESG-WARN][12] ([fdo#111870])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-hsw5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-snb2/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][15] -> [DMESG-WARN][16] ([fdo#108566]) +5 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-apl2/igt@i915_suspend@fence-restore-tiled2untiled.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-apl2/igt@i915_suspend@fence-restore-tiled2untiled.html
* igt@kms_flip@dpms-vs-vblank-race:
- shard-glk: [PASS][17] -> [FAIL][18] ([fdo#111609])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-glk3/igt@kms_flip@dpms-vs-vblank-race.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-glk3/igt@kms_flip@dpms-vs-vblank-race.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [PASS][19] -> [FAIL][20] ([fdo#105363])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-glk2/igt@kms_flip@flip-vs-expired-vblank.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-glk4/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite:
- shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#103167]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-iclb: [PASS][23] -> [INCOMPLETE][24] ([fdo#107713] / [fdo#110036 ])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb5/igt@kms_plane@pixel-format-pipe-c-planes-source-clamping.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb4/igt@kms_plane@pixel-format-pipe-c-planes-source-clamping.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [PASS][25] -> [FAIL][26] ([fdo#103166])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb6/igt@kms_plane_lowres@pipe-a-tiling-x.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb5/igt@kms_plane_lowres@pipe-a-tiling-x.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb2/igt@kms_psr@psr2_basic.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb3/igt@kms_psr@psr2_basic.html
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][29] -> [SKIP][30] ([fdo#109276]) +9 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb2/igt@prime_busy@hang-bsd2.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb6/igt@prime_busy@hang-bsd2.html
#### Possible fixes ####
* igt@gem_ctx_isolation@rcs0-s3:
- shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +4 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-apl3/igt@gem_ctx_isolation@rcs0-s3.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-apl4/igt@gem_ctx_isolation@rcs0-s3.html
* igt@gem_eio@in-flight-contexts-immediate:
- shard-snb: [FAIL][33] ([fdo#111925]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-snb7/igt@gem_eio@in-flight-contexts-immediate.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-snb6/igt@gem_eio@in-flight-contexts-immediate.html
* igt@gem_exec_reuse@baggage:
- shard-iclb: [INCOMPLETE][35] ([fdo#107713] / [fdo#109100]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb7/igt@gem_exec_reuse@baggage.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb7/igt@gem_exec_reuse@baggage.html
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [SKIP][37] ([fdo#111325]) -> [PASS][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb4/igt@gem_exec_schedule@preempt-other-chain-bsd.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb6/igt@gem_exec_schedule@preempt-other-chain-bsd.html
* igt@gem_exec_schedule@promotion-bsd1:
- shard-iclb: [SKIP][39] ([fdo#109276]) -> [PASS][40] +13 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb3/igt@gem_exec_schedule@promotion-bsd1.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb2/igt@gem_exec_schedule@promotion-bsd1.html
* igt@gem_tiled_swapping@non-threaded:
- shard-hsw: [INCOMPLETE][41] ([fdo#103540] / [fdo#108686]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-hsw2/igt@gem_tiled_swapping@non-threaded.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-hsw5/igt@gem_tiled_swapping@non-threaded.html
* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-snb: [DMESG-WARN][43] ([fdo#111870]) -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-snb2/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-hsw: [DMESG-WARN][45] ([fdo#111870]) -> [PASS][46] +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-hsw6/igt@gem_userptr_blits@sync-unmap-cycles.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-hsw1/igt@gem_userptr_blits@sync-unmap-cycles.html
* igt@kms_cursor_legacy@pipe-b-forked-bo:
- shard-hsw: [INCOMPLETE][47] ([fdo#103540]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-hsw7/igt@kms_cursor_legacy@pipe-b-forked-bo.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-hsw4/igt@kms_cursor_legacy@pipe-b-forked-bo.html
* igt@kms_fbcon_fbt@psr-suspend:
- {shard-tglb}: [INCOMPLETE][49] ([fdo#111832]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-tglb3/igt@kms_fbcon_fbt@psr-suspend.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-tglb6/igt@kms_fbcon_fbt@psr-suspend.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move:
- shard-glk: [FAIL][51] ([fdo#103167]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-glk3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-iclb: [FAIL][53] ([fdo#103167]) -> [PASS][54] +3 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-iclb: [INCOMPLETE][55] ([fdo#107713] / [fdo#110042]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb7/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][57] ([fdo#109441]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb8/igt@kms_psr@psr2_cursor_render.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
* igt@prime_busy@wait-hang-blt:
- shard-apl: [INCOMPLETE][59] ([fdo#103927]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-apl4/igt@prime_busy@wait-hang-blt.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-apl8/igt@prime_busy@wait-hang-blt.html
#### Warnings ####
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [FAIL][61] ([fdo#111330]) -> [SKIP][62] ([fdo#109276]) +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb2/igt@gem_mocs_settings@mocs-reset-bsd2.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb3/igt@gem_mocs_settings@mocs-reset-bsd2.html
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][63] ([fdo#109349]) -> [DMESG-WARN][64] ([fdo#107724])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5225/shard-iclb6/igt@kms_dp_dsc@basic-dsc-enable-edp.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110036 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110036
[fdo#110042]: https://bugs.freedesktop.org/show_bug.cgi?id=110042
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111609]: https://bugs.freedesktop.org/show_bug.cgi?id=111609
[fdo#111723]: https://bugs.freedesktop.org/show_bug.cgi?id=111723
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111925]: https://bugs.freedesktop.org/show_bug.cgi?id=111925
Participating hosts (8 -> 7)
------------------------------
Missing (1): shard-skl
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5225 -> IGTPW_3566
CI-20190529: 20190529
CI_DRM_7085: d496dd711013bc80eda3bd6e564d7cda6bbdbdf4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3566: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
IGT_5225: 991ce4eede1c52f76378aebf162a13c20d6f6293 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3566/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning
2019-10-13 19:08 [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning Juha-Pekka Heikkila
2019-10-14 14:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-10-14 20:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-10-15 10:52 ` Petri Latvala
2 siblings, 0 replies; 4+ messages in thread
From: Petri Latvala @ 2019-10-15 10:52 UTC (permalink / raw)
To: Juha-Pekka Heikkila; +Cc: igt-dev
On Sun, Oct 13, 2019 at 10:08:15PM +0300, Juha-Pekka Heikkila wrote:
> casting void pointer to int pointer causes gcc to be unhapy with comment:
> "warning: dereferencing type-punned pointer will break strict-aliasing
> rules"
Make that "casting unsigned char pointer to int pointer".
If it had been void* it would have been fine.
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
>
> change:
> *((int *) CMSG_DATA(cmsg)) = timeline;
> to:
> memcpy(CMSG_DATA(cmsg), &timeline, sizeof(timeline));
>
> so everyting is nicely defined for compiler.
>
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> ---
> tests/sw_sync.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/sw_sync.c b/tests/sw_sync.c
> index 62d1d17..626b6d3 100644
> --- a/tests/sw_sync.c
> +++ b/tests/sw_sync.c
> @@ -228,7 +228,7 @@ static void test_sync_busy_fork_unixsocket(void)
> cmsg->cmsg_type = SCM_RIGHTS;
> cmsg->cmsg_len = CMSG_LEN(sizeof(timeline));
>
> - *((int *) CMSG_DATA(cmsg)) = timeline;
> + memcpy(CMSG_DATA(cmsg), &timeline, sizeof(timeline));
> msg.msg_controllen = cmsg->cmsg_len;
>
> igt_assert_f(sync_fence_wait(fence, 0) == -ETIME,
> --
> 2.7.4
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-15 10:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-13 19:08 [igt-dev] [PATCH i-g-t] tests/sw_sync: fix gcc warning Juha-Pekka Heikkila
2019-10-14 14:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-10-14 20:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-10-15 10:52 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
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.