SVN r258549 breaks -current compiled with gcc

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Mon Nov 25 14:45:43 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drm_linux_list_sort-deconst.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131125/4220ec21/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131125/4220ec21/attachment.sig>


More information about the freebsd-current mailing list