aboutsummaryrefslogtreecommitdiff
path: root/kernel/user.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-01-19 10:30:32 -0500
committerLinus Torvalds <[email protected]>2014-01-19 18:28:30 -0800
commit72de182362e013b2c2cc92092d97fff58e429d5d (patch)
tree98be8fc5088c612948a57c2f307ae7f81b603a88 /kernel/user.c
parent4d93540299e78d6bc3cbe83ff4b9ff8652e9f116 (diff)
drm/nouveau/mxm: fix null deref on load
Since commit 61b365a505d6 ("drm/nouveau: populate master subdev pointer only when fully constructed"), the nouveau_mxm(bios) call will return NULL, since it's still being called from the constructor. Instead, pass the mxm pointer via the unused data field. See https://bugs.freedesktop.org/show_bug.cgi?id=73791 Reported-by: Andreas Reis <[email protected]> Tested-by: Andreas Reis <[email protected]> Signed-off-by: Ilia Mirkin <[email protected]> Cc: Ben Skeggs <[email protected]> Cc: Dave Airlie <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions