Re: Linux 2.4.19-rc3-ac4

Grendel (grendel@thanes.org)
Mon, 29 Jul 2002 22:51:47 +0200


--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 29, 2002 at 02:44:25PM -0600, Erik Andersen scribbled:
[snip]
> drm_stub.h:125: parse error before `)'
> drm_stub.h:133: parse error before `)'
> drm_stub.h:137: parse error before `)'
> make[3]: *** [radeon_drv.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/drivers/char/drm'
> make[2]: *** [_modsubdir_drm] Error 2
> make[2]: Leaving directory `/usr/src/linux/drivers/char'
> make[1]: *** [_modsubdir_char] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_mod_drivers] Error 2
>=20
> The problem seems to be that=20
> DRM_ERROR( "no scatter/gather memory!\n" );
>=20
> expands into
> printk("<3>" "[" "drm" ":%s] *ERROR* " "cannot allocate PCI GART =
page!\n" , ) ;
>=20
> I think the __FUNCTION__ changes to DRM_ERROR and friends in drmP.h=20
> look awfully bogus.
Nope, it's a cpp (3.0+ is fine) error - the ##args is not generated correct=
ly when
'args...' in DRM_ERROR is empty.

marek

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Rariq3909GIf5uoRAiSLAJ4tm5SCOfARTuiC5yNj+AZnt2swugCeJC8x
13UAeN/Kqtm+/Hkb7gzuPDY=
=ZJb9
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/