Messages in this thread | | | Date | Mon, 24 Jan 2011 11:31:17 +1100 (EST) | From | James Morris <> | Subject | Re: [PATCH] tpm: fix panic caused by "tpm: Autodetect itpm devices" |
| |
On Thu, 20 Jan 2011, Olof Johansson wrote:
> On Thu, Jan 6, 2011 at 7:24 PM, Olof Johansson <olof@lixom.net> wrote: > > commit 3f0d3d016d89a5efb8b926d4707eb21fa13f3d27 adds a check for > > PNP device id to the common tpm_tis_init() function, which in some > > cases (force=1) will be called without the device being a member of > > a pnp_dev. Oopsing and panics ensue. > > > > Move the test up to before the call to tpm_tis_init(), since it > > just modifies a global variable anyway.
Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#for-linus
-- James Morris <jmorris@namei.org>
| |