[U-Boot] [PATCH] Introduce generic TPM support in u-boot

Mike Frysinger vapier at gentoo.org
Mon Oct 10 17:10:59 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111010/4a9cc3ec/attachment.pgp 


More information about the U-Boot mailing list