Re: Linux 2.4.19-rc3-ac4

Erik Andersen (andersen@codepoet.org)
Mon, 29 Jul 2002 15:04:53 -0600


--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon Jul 29, 2002 at 10:51:47PM +0200, Grendel wrote:
> On Mon, Jul 29, 2002 at 02:44:25PM -0600, Erik Andersen scribbled:
> [snip]
> > 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 GAR=
T 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 corre=
ctly when
> 'args...' in DRM_ERROR is empty.

Yes I know. And the problem occurs as a result of moving=20
__FUNCTION__ out of the format string,

-Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

--envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

iD8DBQE9Ra30X5tkPjDTkFcRAk28AJ931HvqvOA3mk1+yE5tUGvQRlxyWwCff65B 39KkOuxkAAwxKujlPi0JFD0= =sWQz -----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo-- - 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/