Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2019 18:30:19 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        freebsd-current <freebsd-current@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: SVN r355732 breaks DRM
Message-ID:  <CANCZdfpKHVQKgTqFyyS9jB6FqsBsFJq-x4R9ywRggP6CuSi9tA@mail.gmail.com>
In-Reply-To: <79d0207a-994b-4c79-fa80-ef1c58078b77@protected-networks.net>
References:  <79d0207a-994b-4c79-fa80-ef1c58078b77@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
A fix is in progress.

Warner

On Fri, Dec 13, 2019, 6:27 PM Michael Butler <imb@protected-networks.net>
wrote:

> -current now fails to build the DRM drivers :-(
>
> Building
>
> /usr/obj/usr/src/amd64.amd64/sys/TOSHI/modules/usr/local/sys/modules/drm-current-kmod/drm/drm_os_freebsd.o
> --- drm_os_freebsd.o ---
>
> /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:47:3:
> error: implicit declaration of function 'untimeout' is invalid in C99
> [-Werror,-Wimplicit-function-declaration]
>                 untimeout(clear_debug_func, NULL, reset_debug_log_handle);
>                 ^
>
> /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:57:28:
> error: implicit declaration of function 'timeout' is invalid in C99
> [-Werror,-Wimplicit-function-declaration]
>                 reset_debug_log_handle = timeout(clear_debug_func, NULL,
>                                          ^
>
> /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_os_freebsd.c:57:26:
> error: assigning to 'struct callout_handle' from incompatible type 'int'
>                 reset_debug_log_handle = timeout(clear_debug_func, NULL,
>                                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 3 errors generated.
>
>         imb
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpKHVQKgTqFyyS9jB6FqsBsFJq-x4R9ywRggP6CuSi9tA>