SVN r345102 breaks drm-current-kmod

From: Michael Butler <imb_at_protected-networks.net>
Date: Wed, 13 Mar 2019 20:20:43 -0400
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

	imb
Received on Wed Mar 13 2019 - 23:20:47 UTC

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