Re: SVN r258549 breaks -current compiled with gcc

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Mon, 25 Nov 2013 15:45:30 +0100
On 25.11.2013 15:13, Michael Butler wrote:
> --- drm_linux_list_sort.o ---
> cc1: warnings being treated as errors
> /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_linux_list_sort.c:
> In function 'drm_le_cmp':
> /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_linux_list_sort.c:45:
> warning: cast discards qualifiers from pointer target type

Hello!

Can you try the attached patch?

I got rid of __DECONST() because clang didn't complain, sorry...

-- 
Jean-Sébastien Pédron

Received on Mon Nov 25 2013 - 13:45:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC