On Mon, 18 Jul 2011, Stefan Berger wrote: > The is_itpm() function is only accessed from a block surrounded by > #ifdef CONFIG_PNP. Therefore, also surround it with #ifdef CONFIG_PNP > and remove the #else branch causing the warning. > > http://lxr.linux.no/#linux+v2.6.39/drivers/char/tpm/tpm_tis.c#L622 > > v2: > - fixes a previous typo Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next -- James Morris <jmorris@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html