Re: [PATCH] smc91x: improve definition of debug macros

From: David Miller
Date: Thu Apr 24 2014 - 13:08:25 EST


From: Zi Shen Lim <zlim.lnx@xxxxxxxxx>
Date: Tue, 22 Apr 2014 20:04:42 -0700

> 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@xxxxxxxxxxx>
> Signed-off-by: Zi Shen Lim <zlim.lnx@xxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/