public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* __FUNCTION__ - patch for USB
@ 2002-01-09 22:12 Vladimir Kondratiev
  2002-01-09 22:26 ` Greg KH
  2002-01-10  9:08 ` Nick Craig-Wood
  0 siblings, 2 replies; 6+ messages in thread
From: Vladimir Kondratiev @ 2002-01-09 22:12 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Hello,
Since I have started this thread, I feel I have to do something real. 
Dummy technical work, but someone have to do it, right?
I patched USB subsystem, it uses __FUNCTION__ in deprecated way no more.
What is changed?
- in usb.h, I modified dbg(), warn(), err(), info() macros to contain 
function name in the prefix. These macros are for simple one-line messages.
- in all files under drivers/usb, all macros mentioned fixed.
- all __FUNCTION__ occurencies in drivers/usb revised.

I compiled kednel with all USB modules enabled. Since everything 
compiles OK and all changes are in message formats, this patch should 
not corrupt anything. In the worst case you will get badly formatted 
message.

Patch is against 2.4.17

Comments?

Please, when replying, CC me: mailto:vladimir.kondratiev@intel.com


[-- Attachment #2: __FUNCTION__.usb.patch.gz --]
[-- Type: application/x-gzip, Size: 38773 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-01-11 12:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-09 22:12 __FUNCTION__ - patch for USB Vladimir Kondratiev
2002-01-09 22:26 ` Greg KH
2002-01-10 10:52   ` Vladimir Kondratiev
2002-01-10 16:09     ` Greg KH
2002-01-11 12:23       ` Vladimir Kondratiev
2002-01-10  9:08 ` Nick Craig-Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox