diff options
| author | Tales Lelo da Aparecida <tales.aparecida@gmail.com> | 2022-04-15 14:12:59 +0300 |
|---|---|---|
| committer | Melissa Wen <melissa.srw@gmail.com> | 2022-06-13 02:14:03 +0300 |
| commit | 24f6fe3226c6f9f1b8406311a96b59c6e650b707 (patch) | |
| tree | 87d16112039b685318fb2cf91a6d9669fa38c550 /lib/mpi/mpi-internal.h | |
| parent | e5a068983cf41bfee2c15656e62f401c5f8b0437 (diff) | |
| download | linux-24f6fe3226c6f9f1b8406311a96b59c6e650b707.tar.xz | |
drm/vkms: check plane_composer->map[0] before using it
Fix a copypasta error. The caller of compose_plane() already checks
primary_composer->map. In contrast, plane_composer->map is never
verified here before handling.
Fixes: 7938f4218168 ("dma-buf-map: Rename to iosys-map")
Reviewed-by: André Almeida <andrealmeid@riseup.net>
Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220415111300.61013-2-tales.aparecida@gmail.com
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
