lkml.org 
[lkml]   [2002]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.19-rc3-ac4
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--
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.352 / U:0.188 seconds]
©2003-2014 Jasper Spaans. Advertise on this site