net: fix sk_mem_reclaim_partial()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / rdma / ib_addr.h
index 639a4491fc0dd8fcf4e26931f2c6e8d1c7ed0566..99965395c5f3a5cebb645a67f76681985ce3da84 100644 (file)
@@ -281,7 +281,7 @@ static inline u16 rdma_get_vlan_id(union ib_gid *dgid)
 static inline struct net_device *rdma_vlan_dev_real_dev(const struct net_device *dev)
 {
        return dev->priv_flags & IFF_802_1Q_VLAN ?
-               vlan_dev_real_dev(dev) : 0;
+               vlan_dev_real_dev(dev) : NULL;
 }
 
 #endif /* IB_ADDR_H */