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/426eeeaa9b80
branches: trunk
changeset: 797690:426eeeaa9b80
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 0e544d4034fe -r 426eeeaa9b80 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