git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83d5b7e
)
smc91x: improve definition of debug macros
author
Zi Shen Lim
<zlim.lnx@gmail.com>
Wed, 23 Apr 2014 03:04:42 +0000
(20:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Apr 2014 17:07:48 +0000
(13:07 -0400)
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>
drivers/net/ethernet/smsc/smc91x.c
patch
|
blob
|
history
diff --cc
drivers/net/ethernet/smsc/smc91x.c
Simple merge