diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-09 13:44:43 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-06-12 16:25:55 +0200 |
commit | d12a3d603690ba84b7e3fd357f05b96e777d4630 (patch) | |
tree | 2f22092366da708da5de9ca33f0349e549d79f1b /drivers/firmware | |
parent | cb4ef3c20bd95e21dddc1101133d90ac7f049a53 (diff) | |
download | linux-d12a3d603690ba84b7e3fd357f05b96e777d4630.tar.bz2 |
s390/mm: add __rcu annotations
Add __rcu annotations so sparse correctly warns only if "slot" gets
derefenced without using rcu_dereference(). Right now we get warnings
because of the missing annotation:
arch/s390/mm/gmap.c:135:17: warning: incorrect type in assignment (different address spaces)
arch/s390/mm/gmap.c:135:17: expected void **slot
arch/s390/mm/gmap.c:135:17: got void [noderef] <asn:4>**
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions