
10 Oct
2011
10 Oct
'11
5:10 p.m.
On Monday 10 October 2011 06:50:31 Wolfgang Denk wrote:
Mike Frysinger wrote:
simplify this with one line: #define tpm_debug(fmt, args...) debug("lpc_tpm: " fmt, ## args)
This would break as soon as anybody passes a variable for fmt.
true, but tpm_debug() is local to this file, and if no one does that here, then i don't think it's a problem. using variables to hold format strings is fairly uncommon. -mike