* multiple use of symbol dbg in headers.
@ 2004-06-21 10:12 PAJANI Nathaël
0 siblings, 0 replies; only message in thread
From: PAJANI Nathaël @ 2004-06-21 10:12 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-21 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21 10:12 multiple use of symbol dbg in headers PAJANI Nathaël
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®