aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2013-09-14 17:36:29 -0600
committerPeter Huewe <peterhuewe@gmx.de>2013-10-22 19:42:26 +0200
commit1e6e0974b5d401ab8505eca821f00fcb74d50a55 (patch)
tree4788313b381de2ec3ab356068297ec04cae34800 /drivers/char/tpm/tpm.h
parenttpm: ibmvtpm: Use %zd formatting for size_t format arguments (diff)
downloadlinux-dev-1e6e0974b5d401ab8505eca821f00fcb74d50a55.tar.xz
linux-dev-1e6e0974b5d401ab8505eca821f00fcb74d50a55.zip
tpm atmel: Call request_region with the correct base
Commit e0dd03caf20d040a0a86 ("tpm: return chip from tpm_register_hardware") changed the code path here so that ateml_get_base_addr no longer directly altered the tpm_vendor_specific structure, and instead placed the base address on the stack. The commit missed updating the request_region call, which would have resulted in request_region being called with 0 as the base address. I don't know if request_region(0, ..) will fail, if so the driver has been broken since 2006 and we should remove it from the tree as it has no users. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Joel Schopp <jschopp@linux.vnet.ibm.com> Reviewed-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
0 files changed, 0 insertions, 0 deletions