svn commit: r278004 - head/sys/dev/drm2/radeon

Dimitry Andric dim at FreeBSD.org
Sun Feb 1 15:28:23 UTC 2015


On 01 Feb 2015, at 06:00, Bruce Evans <brde at optusnet.com.au> wrote:
> 
> On Sat, 31 Jan 2015, Dimitry Andric wrote:
> 
>> Log:
>> Constify a number of accesses in drm2's radeon drivers to avoid
>> -Wcast-qual warnings.  No functional change.
> 
> This is much better than using __DECONST(), but still has bogus casts.
...
> 
> Anyway, it is clearer to point to the
> first element:
> 
> 		io_mc_regs = &barts_io_mc_regs[0][0];

Thanks, I've put that up for review, here:

https://reviews.freebsd.org/D1748

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150201/eeb662c6/attachment.sig>


More information about the svn-src-all mailing list