]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:55 +0000 (20:46 -0700)
commite6b9abd950e8043ee3602854c7d55a9f76266e42
tree0ddc4c2731b107fcc1026505fb0d1d5e1b82dd8d
parenta30c1c4be660c124cba0d7212265a60b566a7393
qed: fix missing break in OOO_LB_TC case

Orabug: 2593305326439680

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: b5a9ee7cf3be1 ("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>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_ll2.c