Add _ to the beginning of all debug macros to avoid name collisions

This commit is contained in:
Gregory Nutt
2016-06-16 12:33:32 -06:00
parent fdaf3d7268
commit 0c8c7fecf0
252 changed files with 1348 additions and 1374 deletions
+6 -6
View File
@@ -74,12 +74,12 @@
*/
#ifdef CONFIG_NETDEV_PHY_DEBUG
# define phyerr err
# define phywarn warn
# define phyinfo info
# define phyllerr llerr
# define phyllwarn llwarn
# define phyllinfo llinfo
# define phyerr _err
# define phywarn _warn
# define phyinfo _info
# define phyllerr _llerr
# define phyllwarn _llwarn
# define phyllinfo _llinfo
#else
# define phyerr(x...)
# define phywarn(x...)