> -----Original Message-----
> From: Michael Tokarev [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 22, 2005 4:30 PM
> To: Randy.Dunlap
> Cc: Stephen Morgan; [email protected]
> Subject: Re: [linux-usb-devel] __FILE__ returns full path now?
>
>
> Randy.Dunlap wrote:
> > On Mon, 18 Apr 2005 14:51:38 -0500 Stephen Morgan wrote:
> []
> > | Thanks Randy.  So, is __FILE__ deprecated usage now?  I know it was
> > | used extensively at least in 2.4 (As in the usb-skeleton.c dbg macro.)
> >
> > I don't know that __FILE__ is deprecated and I didn't say that.
> > It works, it just spews too much path info.
> >
> > If a brief look thru 2.6.11-current, it looks to me like
> > there has been a big conversion from __FILE__ to __FUNCTION__,
> > but not 100%.
>
> Hey, the two are completely different! ;)
> __FILE__ is the name of source file, while __FUNCTION__ is the
> name of a function in that file...
>
> /mjt
>

I'm certain Mr. Dunlap meant "conversion from __FILE__ to KBUILD_MODNAME"

Stephen Morgan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to