[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.1107210930430.31489@tundra.namei.org>
Date: Thu, 21 Jul 2011 09:31:00 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Stefan Berger <stefanb@...ux.vnet.ibm.com>
cc: rdunlap@...otime.net, Rajiv Andrade <srajiv@...ux.vnet.ibm.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-next@...r.kernel.org
Subject: Re: [PATCH v2] tpm: Fix compilation warning when CONFIG_PNP is not
defined
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@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists