summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-01-19 16:30:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-20 03:28:30 +0100
commit72de182362e013b2c2cc92092d97fff58e429d5d (patch)
tree98be8fc5088c612948a57c2f307ae7f81b603a88 /arch/sh/kernel/cpu/sh4
parentMerge tag 'acpi-3.13-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-72de182362e013b2c2cc92092d97fff58e429d5d.tar.xz
linux-72de182362e013b2c2cc92092d97fff58e429d5d.zip
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 <andreas.reis@gmail.com> Tested-by: Andreas Reis <andreas.reis@gmail.com> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4')
0 files changed, 0 insertions, 0 deletions