diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-03-27 11:01:18 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 13:28:22 -0700 |
commit | 2ff2acf1fb65f1c83c41b67aba990c6d49a2274c (patch) | |
tree | 88fe9dab834c017edc7992cf15fa1e0e56931f97 /net/ipv6 | |
parent | 4217291e592da0e4258b652e82e5428639d29acc (diff) | |
download | linux-2ff2acf1fb65f1c83c41b67aba990c6d49a2274c.tar.bz2 |
cxgb4vf: Fix sparse warnings
Fixes sparse warnings introduced in commit e85c9a7abfa407ed ("cxgb4/cxgb4vf: Add
code to calculate T5 BAR2 Offsets for SGE Queue Registers") and
df64e4d38c904dd3 ("cxgb4/cxgb4vf: Use new interfaces to calculate BAR2 SGE Queue
Register addresses") and few old ones
sparse warnings:
>> drivers/net/ethernet/chelsio/cxgb4vf/sge.c:1006:48: sparse: cast removes
>> address space of expression
>> drivers/net/ethernet/chelsio/cxgb4vf/sge.c:1006:48: sparse: incorrect type in
>> initializer (different address space)
>> drivers/net/ethernet/chelsio/cxgb4vf/sge.c:1020:40: sparse: incorrect type in
>> argument 1 (different base types)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions