diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-06-19 12:17:48 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-06-19 12:17:48 +0200 |
commit | 307696d3b73406a266191b3fb977ac6e70b34e18 (patch) | |
tree | 212f4043e3bb22b24facfac99dd25f736e1a096b /kernel/bpf/stackmap.c | |
parent | 46cc2d76a74a77e7abc94aa0aa378a8efaf82aa5 (diff) |
drm/client: Restrict the rotation check to the rotation itself
The drm_client_rotation has a check on the rotation value, but the
reflections are also stored in the same variable, and the check doesn't
take this into account.
Therefore, even though we might have a valid rotation, if we're also using
a reflection parameter, the test will fail for no particular reason.
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cf4de0cdef20aac6c654b7b73c2ab3e317c46803.1560783090.git-series.maxime.ripard@bootlin.com
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions