From owner-freebsd-current@FreeBSD.ORG Mon Nov 25 14:50:32 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA042DAC; Mon, 25 Nov 2013 14:50:32 +0000 (UTC) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B47A2F1E; Mon, 25 Nov 2013 14:50:32 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 08C9660DB; Mon, 25 Nov 2013 09:50:30 -0500 (EST) DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=MVePf4/ijTeZgcbQCZQpezwOdH5EE8+mGFmV0lO4fXF2G0+UKJuZpJ+wRbP22Mkw2 2UH3U9Yv1uWZ8HZXjbVjYSeNwuyVVlwrEF+6+1PO4phgz29bqRzFXvnYJQLUmxj Message-ID: <529363B5.8020207@protected-networks.net> Date: Mon, 25 Nov 2013 09:50:29 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= , freebsd-current Subject: Re: SVN r258549 breaks -current compiled with gcc References: <52935B26.9010105@protected-networks.net> <5293628A.6080508@FreeBSD.org> In-Reply-To: <5293628A.6080508@FreeBSD.org> X-Enigmail-Version: 1.6 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 14:50:32 -0000 -----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-----