linux-stable/drivers/gpu/drm/virtio
Luc Van Oostenryck 16d25ea094 drm/virtio: fix mode_valid's return type
The method struct drm_connector_helper_funcs::mode_valid is defined
as returning an 'enum drm_mode_status' but the driver implementation
for this method uses an 'int' for it.

Fix this by using 'enum drm_mode_status' in the driver too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180424131524.2510-1-luc.vanoostenryck@gmail.com
Link: https://patchwork.freedesktop.org/patch/msgid/20180424131515.2360-1-luc.vanoostenryck@gmail.com
Cc: David Airlie <airlied@linux.ie>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
2018-04-25 10:21:19 +02:00
..
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm/virtio: fix mode_valid's return type 2018-04-25 10:21:19 +02:00
virtgpu_drm_bus.c drm: Remove drm_device->virtdev 2017-05-29 20:57:25 +02:00
virtgpu_drv.c drm/virtio: Remove multiple blank lines 2018-02-27 08:40:42 +01:00
virtgpu_drv.h drm/virtio: Replace 'unsigned' for 'unsigned int' 2018-02-27 08:40:41 +01:00
virtgpu_fb.c drm/virtio: Replace 'unsigned' for 'unsigned int' 2018-02-27 08:40:41 +01:00
virtgpu_fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
virtgpu_gem.c drm/virtio: Add blank line after variable declarations 2018-02-27 08:40:37 +01:00
virtgpu_ioctl.c Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
virtgpu_kms.c virtgpu: remove redundant task_comm copying 2017-11-10 12:45:35 +01:00
virtgpu_object.c drm/ttm: drop persistent_swap_storage from ttm_bo_init and co 2018-02-26 23:09:45 -05:00
virtgpu_plane.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
virtgpu_prime.c drm/virtio: Remove multiple blank lines 2018-02-27 08:40:42 +01:00
virtgpu_ttm.c drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00
virtgpu_vq.c drm/virtio: Add spaces around operators 2018-02-27 08:40:42 +01:00