Re: Linux 2.4.19-rc3-ac4

From: Erik Andersen (andersen@codepoet.org)
Date: Mon Jul 29 2002 - 16:04:53 EST


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
> > DRM_ERROR( "no scatter/gather memory!\n" );
> >
> > expands into
> > printk("<3>" "[" "drm" ":%s] *ERROR* " "cannot allocate PCI GART page!\n" , ) ;
> >
> > I think the __FUNCTION__ changes to DRM_ERROR and friends in drmP.h
> > look awfully bogus.
> Nope, it's a cpp (3.0+ is fine) error - the ##args is not generated correctly when
> 'args...' in DRM_ERROR is empty.

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

 -Erik

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


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



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:34 EST