]> 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)
commit41570a9efd03cdca3365f4c21beb02a8feab272e
tree72f1ba10902c434df4053ef312d006f176413d44
parentfd3be37adf8487bf5a9cf92bc813a802e6cfae7c
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