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/radeon Don't pass along null ...
details: https://anonhg.NetBSD.org/src/rev/0ab3782daa72
branches: trunk
changeset: 338380:0ab3782daa72
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed May 20 18:12:01 2015 +0000
description:
Don't pass along null encoder. Noted by Coverity, CID 113253.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f3f7d521bd2e -r 0ab3782daa72 sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c Wed May 20 17:39:04 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_connectors.c Wed May 20 18:12:01 2015 +0000
@@ -822,7 +822,7 @@
}
}
- if (ret == connector_status_connected)
+ if (ret == connector_status_connected && encoder)
ret = radeon_connector_analog_encoder_conflict_solve(connector, encoder, ret, true);
/* RN50 and some RV100 asics in servers often have a hardcoded EDID in the
Home |
Main Index |
Thread Index |
Old Index