summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorLyude Paul <lyude@redhat.com>2019-01-11 01:53:38 +0100
committerLyude Paul <lyude@redhat.com>2019-01-11 02:38:30 +0100
commitd79a3c52f34b648c56794e14364cc5169af2202f (patch)
tree15e307bc7f4aa6b86bb85190a2e7b9b4701997d3 /drivers/memstick
parentdrm/nouveau: Keep malloc references to MST ports (diff)
downloadlinux-d79a3c52f34b648c56794e14364cc5169af2202f.tar.xz
linux-d79a3c52f34b648c56794e14364cc5169af2202f.zip
drm/nouveau: Stop unsetting mstc->port, use malloc refs
Same as we did for i915, but for nouveau this time. Additionally, we grab a malloc reference to the port that lasts for the entire lifetime of nv50_mstc, which gives us the guarantee that mstc->port will always point to valid memory for as long as the mstc stays around. Signed-off-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: David Airlie <airlied@redhat.com> Cc: Jerry Zuo <Jerry.Zuo@amd.com> Cc: Harry Wentland <harry.wentland@amd.com> Cc: Juston Li <juston.li@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190111005343.17443-16-lyude@redhat.com
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions