debugX macro
Hi,
I've been doing the debug() cleanup and found the debugX() macro is used only in very few patches. Maybe punting it altogether won't hurt.
The following do use it:./board/spc1920/hpi.c./drivers/mtd/nand/s3c2410_nand.c
Opinions?
Thanks, Cheers!
Dear Marek Vasut,
Quoted 9 lines · In message <[email protected]> you wrote:
I've been doing the
debug()cleanup and found thedebugX()macro is used only in very few patches. Maybe punting it altogether won't hurt.The following do use it:
./board/spc1920/hpi.c./drivers/mtd/nand/s3c2410_nand.cOpinions?
Dump it!
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Beware of programmers carrying screwdrivers." - Chip Salzenberg
Quoted 6 lines · Wolfgang Denk
Dear Marek Vasut,
Quoted 3 lines · In message <[email protected]> you wrote:
I've been doing the
debug()cleanup and found thedebugX()macro is used only in very few patches. Maybe punting it altogether won't hurt.
Quoted 7 lines
Quoted 5 lines
The following do use it:
./board/spc1920/hpi.c./drivers/mtd/nand/s3c2410_nand.cOpinions?
Dump it!
Dumped on next iteration of the GCC4.6 cleanups!
Cheers
Quoted 7 lines · Wolfgang Denk
Dear Marek Vasut,
Quoted 4 lines · In message <[email protected]> you wrote:
I've been doing the
debug()cleanup and found thedebugX()macro is used only in very few patches. Maybe punting it altogether won't hurt.
Quoted 7 lines
Quoted 5 lines
The following do use it:
./board/spc1920/hpi.c./drivers/mtd/nand/s3c2410_nand.cOpinions?
Dump it!
I'm working on a patch to rework the net subsystem and I find it quite useful for filtering debug traces to a manageable level. I think it should stay around.
Thanks
-Joe
Quoted 13 lines · Wolfgang Denk
Quoted 12 lines
Dear Marek Vasut,
Quoted 8 lines · In message <[email protected]> you wrote:
I've been doing the
debug()cleanup and found thedebugX()macro is used only in very few patches. Maybe punting it altogether won't hurt.The following do use it:
./board/spc1920/hpi.c./drivers/mtd/nand/s3c2410_nand.cOpinions?
Quoted 8 lines
Quoted 1 line
Dump it!
I'm working on a patch to rework the net subsystem and I find it quite useful for filtering debug traces to a manageable level. I think it should stay around.
Thanks
-Joe
Hi Joe,
why can't you just reimplement it properly with your patchset ? Currently, all the uses of this macro in the tree are bogus so your code might be a good example.
Cheers