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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to