Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425165
| From | Stefan Berger <stefanb@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] tpm_crb: fix address space of the return pointer in crb_map_res() |
| Date | 2016-06-17 16:50 +0200 |
| Message-ID | <rL3fP-7LV-9@gated-at.bofh.it> (permalink) |
| References | <rL369-7I5-3@gated-at.bofh.it> <rL3fP-7LV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/17/2016 10:39 AM, Jarkko Sakkinen wrote:
> 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 *
>
> 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>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Fixes for sparse reported warnings Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-06-17 16:40 +0200
[PATCH 2/2] tpm_crb: fix address space of the return pointer in crb_map_res() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-06-17 16:50 +0200
Re: [PATCH 2/2] tpm_crb: fix address space of the return pointer in crb_map_res() Stefan Berger <stefanb@linux.vnet.ibm.com> - 2016-06-17 16:50 +0200
Re: [PATCH 0/2] Fixes for sparse reported warnings Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-06-18 14:30 +0200
csiph-web