]> git.baikalelectronics.ru Git - kernel.git/commit
qed: fix missing break in OOO_LB_TC case
authorColin Ian King <colin.king@canonical.com>
Wed, 5 Apr 2017 12:35:44 +0000 (13:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 20:20:26 +0000 (13:20 -0700)
commit548acf30341d8d4f39e19c1ab798f4446a938789
tree748ff6fe9213449930fb520a656ea3185ae133d8
parenta2f8e961a94a94cf3a3e8c47747649e151a3628c
qed: fix missing break in OOO_LB_TC case

There seems to be a missing break on the OOO_LB_TC case, pq_id
is being assigned and then re-assigned on the fall through default
case and that seems suspect.

Detected by CoverityScan, CID#1424402 ("Missing break in switch")

Fixes: 4c7af2ccb9faa ("qed: Revise QM cofiguration")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c