Re: SVN r345102 breaks drm-current-kmod

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Thu, 14 Mar 2019 08:37:50 +0100
CC'ing Johannes and Niclas.

--HPS

On 3/14/19 1:20 AM, Michael Butler wrote:
> As below ..
> 
> --- drm_atomic_helper.o ---
> In file included from
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_atomic_helper.c:28:
> In file included from
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/include/drm/drmP.h:139:
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_os_freebsd.h:124:9:
> error: 'IS_ALIGNED' macro redefined [-Werror,-Wmacro-redefined]
> #define IS_ALIGNED(x, y)        (((x) & ((y) - 1)) == 0)
>          ^
> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:133:9: note:
> previous definition is here
> #define IS_ALIGNED(x, a)        (((x) & ((__typeof(x))(a) - 1)) == 0)
>          ^
> --- drm_atomic.o ---
> In file included from
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_atomic.c:29:
> In file included from
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/include/drm/drmP.h:139:
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_os_freebsd.h:124:9:
> error: 'IS_ALIGNED' macro redefined [-Werror,-Wmacro-redefined]
> #define IS_ALIGNED(x, y)        (((x) & ((y) - 1)) == 0)
>          ^
> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:133:9: note:
> previous definition is here
> #define IS_ALIGNED(x, a)        (((x) & ((__typeof(x))(a) - 1)) == 0)
>          ^
> --- drm_atomic_helper.o ---
> 1 error generated.
> *** [drm_atomic_helper.o] Error code 1
> 
> make[3]: stopped in
> /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drm
> 
Received on Thu Mar 14 2019 - 06:38:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC