diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-12-10 18:23:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-14 07:36:55 +0300 |
commit | 946973a348a16f724374e0f818b31c095686471f (patch) | |
tree | e8d2e725520a4620b2ece123e04fccfaebfba8b9 /include/linux | |
parent | 6d13cab4abec85d766a505f56f4465086f26ea10 (diff) | |
download | linux-946973a348a16f724374e0f818b31c095686471f.tar.xz |
net:hns: annotate IO address space properly
Mark address pointer with __iomem in the IO accessors.
Otherwise we will get a sparse complain like following
.../hns/hns_dsaf_reg.h:991:36: warning: incorrect type in argument 1 (different address spaces)
.../hns/hns_dsaf_reg.h:991:36: expected unsigned char [noderef] [usertype] <asn:2>*base
.../hns/hns_dsaf_reg.h:991:36: got void *base
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions