diff options
| author | Chris Wilson <[email protected]> | 2009-03-06 23:27:52 +0000 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2009-03-27 22:12:17 +0000 |
| commit | 98787c057fdefdce6230ff46f2c1105835005a4c (patch) | |
| tree | 867347ab1bf0fb289cc6f7a18039d43b6a174e06 /net/unix/af_unix.c | |
| parent | drm/i915: TV detection fix (diff) | |
| download | kernel-98787c057fdefdce6230ff46f2c1105835005a4c.tar.gz kernel-98787c057fdefdce6230ff46f2c1105835005a4c.zip | |
drm/i915: Check for dev->primary->master before dereference.
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 <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
