hinic: fix a irq affinity bug
authorLuo bin <luobin9@huawei.com>
Thu, 27 Feb 2020 06:34:42 +0000 (06:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 10:55:54 +0000 (11:55 +0100)
commite78ae0038ee8dd366fc9e306596a9cfa1266878c
tree12c4f3c72e9e6b102d9d143b830fcc3454b84d90
parent851346e59122de504f185d83cd9315a4170f1fc5
hinic: fix a irq affinity bug

[ Upstream commit 0bff777bd0cba73ad4cd0145696ad284d7e6a99f ]

can not use a local variable as an input parameter of
irq_set_affinity_hint

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h
drivers/net/ethernet/huawei/hinic/hinic_rx.c