]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Fix compilation error when CONFIG_INET isn't defined
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 4 Feb 2013 03:01:21 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:26:50 +0000 (13:26 -0500)
commit84b3886c0b3b1be824ac15673c1243db58e683b1
tree72f1ba10902c434df4053ef312d006f176413d44
parent274e76e32edfa025ebaf1451d3b4967ca0e540a6
net/mlx4_en: Fix compilation error when CONFIG_INET isn't defined

ip_eth_mc_map function can't be used when CONFIG_INET isn't defined.
Fixed compilation error by adding CONFIG_INET define check before using the
function.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c