Re: r247835: drm2 code breaks buildkernel
--oplxJGu+Ee5xywIT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Mar 05, 2013 at 05:40:34PM +0100, Jean-S?bastien P?dron wrote:
> On 05.03.2013 16:37, Konstantin Belousov wrote:
> > The patch below is supposed to fix double declaration (it is pathetic t=
hat
> > clang silently accepts this, while issuing countless useless warnings).
> > Also there is a usual workaround for the anonimous union/struct issue.
>=20
> What do you think about "-fms-extensions"? It avoids modifications to
> the code and works with both gcc and clang.
Since TTM code needs a lot of modifications anyway, I do not mind to
make one more local change. I already did it, please see r247849.
This is IMO better then getting more unhandled warnings.
>=20
> There're several unnamed structs/unions in the radeon code too. I would
> like to keep the diff with Linux code as small as possible.
It is your call. I am only looking after the TTM right now.
--oplxJGu+Ee5xywIT
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iQIcBAEBAgAGBQJRNjZJAAoJEJDCuSvBvK1BAdkP/1oD5Sw0CIBghNCXOJ/JqLDk
a77MCIw9ROQRKF5PyZ6/WBlH1D8Ihr1fkzsGQun8yHr+T0odem6sijEDf9lovLLw
rjtec7wSpFwkxV3kCodqpAL4ArN+wJd2uDg8b8vW+MAYg4q0hgXWLUtAIhvsoXYx
s6sCUqYfQiajDN4H2pP72Ga3/IrS6S1HmMMEzHYYVf1ScqiWE8bZ/xQiN2mCI6TI
R4Lxmr+F8Bj4/opHXRwaLq/FunjaXM4HNLaAEipbR7eTegzNYxTrHnqWhykPggM/
jkDOG2b1ZWvERfc1gQzzGcpxbP8dlg7rajpE3jFEyb4WSb8cxn8vXSi+FOdPIksQ
VYQlHaKJ3C3Ef7R2iRWzyuvOy5yYkmI8QCf8oU+bsoiYK97zgk26pmLeajfisUsI
2OHmJGw4cWc7ZuNnXYlidc5d373KFfEm6rTmJMzucEoDzLsjsvYTxitlvLKKXQWb
GORb4t9rXkjahwgkA2xL1Ai5ioLNenv3CiwBw0/Lew8LiAXQ/It3omh7t/hqzpwQ
Kb7A+Bi2T/1LYEvpjzVv9VoOAssDm2u9cH8iidJ9z2AR7UozFEsN1Ktza5B8XPir
9jfF+03eOb1vUMFwA/Ma9+DTlBu0WPVt3NyxzakblmtDhG60BKR9E7KT8BwemxIW
07v6IXa9bvHtC7cAODis
=kiGj
-----END PGP SIGNATURE-----
--oplxJGu+Ee5xywIT--
討論串 (同標題文章)
完整討論串 (本文為第 13 之 13 篇):