OSDN Git Service

net/mlx5: Avoid shadowing numa_node
authorEli Cohen <eli@mellanox.com>
Wed, 28 Dec 2016 12:58:34 +0000 (14:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:53 +0000 (13:42 +0100)
commitefbbc75c00fc15598cd863dfe117dfa976e8b971
tree4ad0da9dd2616ea8e4c5381fdcde2f56084f21d2
parentca8a64467f2a20f86218c483c03fb7fc8c33c156
net/mlx5: Avoid shadowing numa_node

[ Upstream commit d151d73dcc99de87c63bdefebcc4cb69de1cdc40 ]

Avoid using a local variable named numa_node to avoid shadowing a public
one.

Fixes: db058a186f98 ('net/mlx5_core: Set irq affinity hints')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/main.c