]> git.baikalelectronics.ru Git - kernel.git/commit
net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
authorZhengchao Shao <shaozhengchao@huawei.com>
Wed, 19 Oct 2022 09:57:51 +0000 (17:57 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Oct 2022 04:09:46 +0000 (21:09 -0700)
commita6b5008ca10419a742ae5ff4e5aa26f39fa13e79
tree8132b0bfba088c5dd14c06fc7c49f00e017b5a75
parent1ee4e8d83cfe465fd9597c7148db572e7fead239
net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()

The value of lli_credit_cnt is incorrectly assigned, fix it.

Fixes: fff42d77d7fb ("hinic: add support to set and get irq coalesce")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c