From: Mike Frysinger Date: Mon, 10 Oct 2011 11:10:59 -0400 Subject: [U-Boot] [PATCH] Introduce generic TPM support in u-boot In-Reply-To: <20111010105031.D54561408753@gemini.denx.de> References: <20111010025327.119EB40B40@eskimo.mtv.corp.google.com> <201110100008.30473.vapier@gentoo.org> <20111010105031.D54561408753@gemini.denx.de> Message-ID: <201110101111.02290.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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