Messages in this thread | | | Date | Mon, 29 Jul 2002 15:04:53 -0600 | From | Erik Andersen <> | Subject | Re: 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] | |