diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-05 13:12:11 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-06 20:23:31 +0300 |
commit | 968029057192e46dd78e807b81c2aba2d7648c38 (patch) | |
tree | 4684107a3ebcb451fdbaf40c94d658d2f09bbc0b /crypto/sha256_generic.c | |
parent | 078b7de41249b989a574339078696663e095cf37 (diff) | |
download | linux-968029057192e46dd78e807b81c2aba2d7648c38.tar.xz |
drm/lease: look at ->universal_planes only once
It's lockless, and userspace might chance it underneath us. That's not
really a problem, all userspace gets is a slightly dysfunctional
lease with the current code. But this might change, and gcc might
decide to reload a few too many times, and then boom. So better safe
than sorry.
v2: Remove the now unused lessor_priv argument from validate_lease()
(Keith).
v3: Actually add everything ... silly me.
Cc: Keith Packard <keithp@keithp.com>
Cc: Dave Airlie <airlied@gmail.com>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181105101211.22737-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions