commit | a450a685791d12c0a477b75d630d6ae66acab9a7 | [log] [tgz] |
---|---|---|
author | Zi Shen Lim <zlim.lnx@gmail.com> | Tue Apr 22 20:04:42 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 24 13:07:48 2014 -0400 |
tree | 2f7adac460770d495e43038a790f3ddd32b7f07f | |
parent | 83d5b7ef99c9f05e87333b334a638de1264ab8e4 [diff] |
smc91x: improve definition of debug macros Redefine some macros that were conditioned upon SMC_DEBUG level. By allowing compiler to verify parameters used by these macros unconditionally, we can flag compilation failures. Compiler will still optimize out the unused code path depending on SMC_DEBUG, so this is a net gain. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>