]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: Add unlikely for buf_num check
authorPeng Li <lipeng321@huawei.com>
Wed, 19 Sep 2018 17:29:48 +0000 (18:29 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit91a2f02f8ee097e99b85d50381265f5fedd58129
tree32e2fe47c3f43cbc3d5879696861743e3aa4aefa
parent15040788dae570bcb6520d055a03f5ba7f19fb20
net: hns3: Add unlikely for buf_num check

BugLink: https://bugs.launchpad.net/bugs/1810457
This patch adds unlikely for buf_num check.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 932d1252aded755bfd6f53183ab6211f711c6435)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c