From: "PAJANI Nathaël" <nathael.pajani@cpe.fr>
To: linux-kernel@vger.kernel.org
Subject: multiple use of symbol dbg in headers.
Date: Mon, 21 Jun 2004 12:12:36 +0200 [thread overview]
Message-ID: <1087812756.40d6b4948f361@webmail.cpe.fr> (raw)
Hi, I just tryed to see what is behind the "dbg" symbol in the 2.4.24 source
tree, and noticed it was used in different places, with different meanings. I
also checked 2.6.6 source tree, and part of the problem is still there.
Problem:
+ linux 2.4.24
in include/linux/usb.h
--> #define dbg(format, arg...) printk .......
--> #define dbg(format, arg...) do {} .......
and in include/linux/baycom.h
--> struct baycom_debug_data dbg;
and last in include/linux/soundmodem.h
--> struct sm_debug_data dbg;
+ linux 2.6.6
in include/linux/usb.h
--> #define dbg(format, arg...) printk .......
--> #define dbg(format, arg...) do {} .......
and in include/linux/baycom.h
--> struct baycom_debug_data dbg;
But no more occurence in soundmodem.h
This is no problem for me as I do not include all these files, just the usb.h
But this may be problem for others.
Solution may be to use usb_dbg instead of dbg in usb.h, as it has been done in
device.h and pnp.h
Bye.
I hope this will be usefull.
Nathaël PAJANI
nathael.pajani@cpe.fr
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
reply other threads:[~2004-06-21 10:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1087812756.40d6b4948f361@webmail.cpe.fr \
--to=nathael.pajani@cpe.fr \
--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
all inboxes | Powered by JetHome®