diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-04-06 19:40:20 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-27 10:36:53 -0700 |
commit | 89051add552d18e1f212a5111e7e8a059a67ae10 (patch) | |
tree | d9a4a97e102ffa7b28d4aa17b7c76972cbbaee4e /lib/debugobjects.c | |
parent | c780bee65d7bb5aa637147ca64f4a5d51716dc1d (diff) |
drm/i915: Check for dev->primary->master before dereference.
upstream commit: 98787c057fdefdce6230ff46f2c1105835005a4c
I've hit the occasional oops inside i915_wait_ring() with an indication of
a NULL derefence of dev->primary->master. Adding a NULL check is
consistent with the other potential users of dev->primary->master.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions