Re: [PATCH] drm/ast: fix mode_valid's return type

2018-04-25 Thread Daniel Vetter
On Tue, Apr 24, 2018 at 03:14:40PM +0200, Luc Van Oostenryck wrote: > 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

Re: [PATCH] drm/ast: fix mode_valid's return type

2018-04-25 Thread Daniel Vetter
On Tue, Apr 24, 2018 at 03:14:40PM +0200, Luc Van Oostenryck wrote: > 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

[PATCH] drm/ast: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
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

[PATCH] drm/ast: fix mode_valid's return type

2018-04-24 Thread Luc Van Oostenryck
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 ---