summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2021-02-05 01:53:11 +0300
committerRob Clark <robdclark@chromium.org>2021-02-05 21:00:10 +0300
commitc8d99bb938d3303989c4988caf090084073e85a2 (patch)
tree43b7ec4cc6612833ef387cf56b5cbf93a172fee7 /include/linux/fpga/fpga-bridge.h
parent7df222c35920569c7f31d177a7249c70139008f1 (diff)
downloadlinux-c8d99bb938d3303989c4988caf090084073e85a2.tar.xz
drm/msm: Fix legacy relocs path
In moving code around, we ended up using the same pointer to copy_from_user() the relocs tables as we used for the cmd table entry, which is clearly not right. This went unnoticed because modern mesa on non-ancent kernels does not actually use relocs. But this broke ancient mesa on modern kernels. Reported-by: Emil Velikov <emil.velikov@collabora.com> Fixes: 20224d715a88 ("drm/msm/submit: Move copy_from_user ahead of locking bos") Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Akhil P Oommen <akhilpo@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions