[PATCH 02/10] fb: Use #error instead of a syntax error
Mark Kettenis
mark.kettenis at xs4all.nl
Mon Mar 10 08:17:39 PDT 2014
> From: Adam Jackson <ajax at redhat.com>
> Date: Mon, 10 Mar 2014 11:04:26 -0400
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
> ---
> fb/fb.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fb/fb.h b/fb/fb.h
> index f63aa4f..206a3bc 100644
> --- a/fb/fb.h
> +++ b/fb/fb.h
> @@ -84,7 +84,7 @@
> #endif
>
> #if FB_SHIFT < LOG2_BITMAP_PAD
> -error FB_SHIFT must be >= LOG2_BITMAP_PAD
> +#error FB_SHIFT must be >= LOG2_BITMAP_PAD
> #endif
> #define FB_UNIT (1 << FB_SHIFT)
> #define FB_HALFUNIT (1 << (FB_SHIFT-1))
> --
> 1.8.5.3
More information about the xorg-devel
mailing list