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/i915 Don't forget to set ret ...
details: https://anonhg.NetBSD.org/src/rev/cc7225bcdbf8
branches: trunk
changeset: 330929:cc7225bcdbf8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Jul 25 12:18:13 2014 +0000
description:
Don't forget to set ret on the way out.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r bb60bff3cb2d -r cc7225bcdbf8 sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c Fri Jul 25 12:16:22 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c Fri Jul 25 12:18:13 2014 +0000
@@ -198,6 +198,7 @@
helper->fbdev = config_found_ia(dev->dev, "intelfbbus", &ifa, NULL);
if (helper->fbdev == NULL) {
DRM_ERROR("unable to attach intelfb\n");
+ ret = -ENXIO;
goto out_unpin;
}
fb = &ifbdev->fb->base;
Home |
Main Index |
Thread Index |
Old Index