public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Kondratiev <vladimir.kondratiev@intel.com>
To: linux-kernel@vger.kernel.org
Subject: __FUNCTION__ - patch for USB
Date: Thu, 10 Jan 2002 00:12:29 +0200	[thread overview]
Message-ID: <3C3CC04D.2080807@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2002-01-09 22:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-09 22:12 Vladimir Kondratiev [this message]
2002-01-09 22:26 ` __FUNCTION__ - patch for USB 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C3CC04D.2080807@intel.com \
    --to=vladimir.kondratiev@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox