Re: SVN r258549 breaks -current compiled with gcc

From: Michael Butler <imb_at_protected-networks.net>
Date: Mon, 25 Nov 2013 09:50:29 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/25/13 09:45, Jean-Sébastien Pédron wrote:
> 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...

That fixed it - thanks! :-)

	imb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlKTY7UACgkQQv9rrgRC1JKqEgCgoMTBkjDdNrrA94Jry1lOKB30
Sk4AoKiaOo8ZPyEAxR2FxjAbpbRHpw6v
=fcGs
-----END PGP SIGNATURE-----
Received on Mon Nov 25 2013 - 13:50:32 UTC

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