aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_tool.h
diff options
context:
space:
mode:
authorOlof Johansson <[email protected]>2011-01-07 03:24:01 +0000
committerJames Morris <[email protected]>2011-01-24 00:29:55 +0000
commite5cce6c13c25d9ac56955a3ae2fd562719848172 (patch)
tree29ed2e65da52bda2d16a77425102f3a8813fcef1 /drivers/scsi/mpt2sas/mpi/mpi2_tool.h
parentTPM: Long default timeout fix (diff)
downloadkernel-e5cce6c13c25d9ac56955a3ae2fd562719848172.tar.gz
kernel-e5cce6c13c25d9ac56955a3ae2fd562719848172.zip
tpm: fix panic caused by "tpm: Autodetect itpm devices"
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. Signed-off-by: Olof Johansson <[email protected]> Acked-by: Rajiv Andrade <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_tool.h')
0 files changed, 0 insertions, 0 deletions