[PATCH xserver] modesetting: typo in drmmode_display.c -- ',' instead of '; ' at end of line

Keith Packard keithp at keithp.com
Thu May 16 19:47:45 UTC 2019


Keith Packard <keithp at keithp.com> writes:

> This seems like a simple typo to me; thanks to C it isn't caught by
> the compiler.
>
> Signed-off-by: Keith Packard <keithp at keithp.com>

Sorry, I didn't find this myself. It was found by Roman Gilg, who should
be listed as the author.

> ---
>  hw/xfree86/drivers/modesetting/drmmode_display.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
> index cb48aa46b..aee374821 100644
> --- a/hw/xfree86/drivers/modesetting/drmmode_display.c
> +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
> @@ -1868,7 +1868,7 @@ drmmode_shadow_create(xf86CrtcPtr crtc, void *data, int width, int height)
>      }
>  
>      pPixData = drmmode_bo_map(drmmode, &drmmode_crtc->rotate_bo);
> -    rotate_pitch = drmmode_bo_get_pitch(&drmmode_crtc->rotate_bo),
> +    rotate_pitch = drmmode_bo_get_pitch(&drmmode_crtc->rotate_bo);
>  
>      rotate_pixmap = drmmode_create_pixmap_header(scrn->pScreen,
>                                                   width, height,
> -- 
> 2.20.1
>

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20190516/1fa5811c/attachment.sig>


More information about the xorg-devel mailing list