diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-05-16 23:50:50 +0200 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2020-05-17 14:16:15 +0200 |
commit | abf56fadf0e208abfb13ad1ac0094416058da0ad (patch) | |
tree | 5501a3c52e0b77854f613ae426a407bef8d50a59 /mm/mmap.c | |
parent | a53bcc19876498bdd3b4ef796c787295dcc498b4 (diff) |
gpu/drm: Ingenic: Fix opaque pointer casted to wrong typedrm-misc-fixes-2020-05-28
The opaque pointer passed to the IRQ handler is a pointer to the
drm_device, not a pointer to our ingenic_drm structure.
It still worked, because our ingenic_drm structure contains the
drm_device as its first field, so the pointer received had the same
value, but this was not semantically correct.
Cc: stable@vger.kernel.org # v5.3
Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200516215057.392609-5-paul@crapouillou.net
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions