diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-06-17 16:39:29 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-06-25 17:28:57 +0300 |
commit | f786b752098216fedb73ba2905c8cce12358534a (patch) | |
tree | 49af1156ff3bd987edea7c5c5aa7403b43014121 /arch/c6x | |
parent | 9da7e787e18471f890b6d3e2859417388595798a (diff) |
tpm_crb: fix address space of the return pointer in crb_map_res()
When running make C=2 M=drivers/char/tpm/
CHECK drivers/char/tpm//tpm_crb.c
drivers/char/tpm//tpm_crb.c:248:31: warning: incorrect type in return expression (different address spaces)
drivers/char/tpm//tpm_crb.c:248:31: expected void [noderef] <asn:2>*
drivers/char/tpm//tpm_crb.c:248:31: got void *
CC: stable@vger.kernel.org
Fixes: 1bd047be37d9 ("tpm_crb: Use devm_ioremap_resource")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions