Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Use list_next(&list)...
details: https://anonhg.NetBSD.org/src/rev/ed2875f9ecd0
branches: riastradh-drm2
changeset: 788102:ed2875f9ecd0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:14:58 2013 +0000
description:
Use list_next(&list), not list.next, in drm_crtc.c.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_crtc.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 4db58efa4062 -r ed2875f9ecd0 sys/external/bsd/drm2/dist/drm/drm_crtc.c
--- a/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 02:14:42 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 02:14:58 2013 +0000
@@ -2654,7 +2654,12 @@
if (!connector->encoder)
continue;
if (connector->encoder->crtc == crtc)
+#ifdef __NetBSD__
+ list_move_tail(list_next(&list),
+ &connector->user_modes);
+#else
list_move_tail(list.next, &connector->user_modes);
+#endif
}
WARN_ON(!list_empty(&list));
Home |
Main Index |
Thread Index |
Old Index