diff options
| author | Lidza Louina <lidza.louina@gmail.com> | 2013-08-26 21:05:49 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-27 03:26:55 +0400 |
| commit | 68b146e8944ae3cfc64feb7f9a12cc6190562758 (patch) | |
| tree | 27a97c10e5c783bf53be4499641acbe5ae47e917 /tools/perf/scripts/python | |
| parent | 7915dea707820724ad5d5117e9e07ccccf712dd6 (diff) | |
| download | linux-68b146e8944ae3cfc64feb7f9a12cc6190562758.tar.xz | |
staging: dgnc: cls.c: changes var in cls_vpd function for sparse
This patch changes cls_vpd function's re_map_vpdbase variable
type and marker.
It removes these warnings found in cls.c:
warning: incorrect type in assignment (different address spaces)
expected unsigned char [usertype] *re_map_vpdbase
got void [noderef] <asn:2>*
warning: incorrect type in argument 1 (different address spaces)
expected void const volatile [noderef] <asn:2>*addr
got unsigned char [usertype] *
warning: incorrect type in argument 1 (different address spaces)
expected void volatile [noderef] <asn:2>*addr
got unsigned char [usertype] *re_map_vpdbase
The variables passed to readb needs to be of type u8
with a __iomem marker. re_map_vpdbase is passed into
readb in the code.
Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
