• Jason Wang's avatar
    macvtap: slient sparse warnings · d9a90a31
    Jason Wang authored
    This patch silents the following sparse warnings:
    
    drivers/net/macvtap.c:98:9: warning: incorrect type in assignment (different
    address spaces)
    drivers/net/macvtap.c:98:9:    expected struct macvtap_queue *<noident>
    drivers/net/macvtap.c:98:9:    got struct macvtap_queue [noderef]
    <asn:4>*<noident>
    drivers/net/macvtap.c:120:9: warning: incorrect type in assignment (different
    address spaces)
    drivers/net/macvtap.c:120:9:    expected struct macvtap_queue *<noident>
    drivers/net/macvtap.c:120:9:    got struct macvtap_queue [noderef]
    <asn:4>*<noident>
    drivers/net/macvtap.c:151:22: error: incompatible types in comparison expression
    (different address spaces)
    drivers/net/macvtap.c:233:23: error: incompatible types in comparison expression
    (different address spaces)
    drivers/net/macvtap.c:243:23: error: incompatible types in comparison expression
    (different address spaces)
    drivers/net/macvtap.c:247:15: error: incompatible types in comparison expression
    (different address spaces)
      CC [M]  drivers/net/macvtap.o
    drivers/net/macvlan.c:232:24: error: incompatible types in comparison expression
    (different address spaces)
    Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d9a90a31
macvtap.c 29.1 KB