Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm Clarify comment in last commit.
details: https://anonhg.NetBSD.org/src/rev/ac371490c3cb
branches: trunk
changeset: 336391:ac371490c3cb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 28 03:05:09 2015 +0000
description:
Clarify comment in last commit.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6bca0d8d1215 -r ac371490c3cb sys/external/bsd/drm2/dist/drm/drm_irq.c
--- a/sys/external/bsd/drm2/dist/drm/drm_irq.c Sat Feb 28 03:03:30 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_irq.c Sat Feb 28 03:05:09 2015 +0000
@@ -1301,7 +1301,7 @@
vblwait->request.sequence) <= (1 << 23)) ||
!dev->irq_enabled));
spin_unlock_irqrestore(&dev->vbl_lock, irqflags);
- if (ret < 0) /* Failed: do nothing. */
+ if (ret < 0) /* Failed: return negative error as is. */
;
else if (ret == 0) /* Timed out: return -EBUSY like Linux. */
ret = -EBUSY;
Home |
Main Index |
Thread Index |
Old Index