diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-08-17 18:18:21 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-17 18:34:45 +0400 |
commit | e8a70c25b809367fc314743e1ba1dbf0159398a7 (patch) | |
tree | 7308ad5e468b4c8d79ade59936545fbab3eee20d /sound/soc/atmel | |
parent | d80a12f92466d0bc4fd244c9052a8a88518c868e (diff) | |
download | linux-e8a70c25b809367fc314743e1ba1dbf0159398a7.tar.xz |
ASoC: samsung idma: Add proper annotation for casting iomem pointers
It is not always possible to interchange iomem pointers with normal pointers,
which why we have annotations for iomem pointers and warn when casting them to a
normal pointer or vice versa. In this case the casting is fine and unfortunately
necessary so add the proper annotations to tell code checkers that it is
intentional. This silences the following warnings from sparse:
sound/soc/samsung/idma.c:354:20: warning: incorrect type in argument 1
(different address spaces) expected void volatile [noderef]
<asn:2>*addr got unsigned char *area
sound/soc/samsung/idma.c:372:22: warning: cast removes address space of
expression
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions