[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140424.130810.1854514715764795522.davem@davemloft.net>
Date: Thu, 24 Apr 2014 13:08:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zlim.lnx@...il.com
Cc: nico@...xnic.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, joe@...ches.com
Subject: Re: [PATCH] smc91x: improve definition of debug macros
From: Zi Shen Lim <zlim.lnx@...il.com>
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@...ches.com>
> Signed-off-by: Zi Shen Lim <zlim.lnx@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists