summaryrefslogtreecommitdiff
path: root/ring_tx.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-10-20 15:19:53 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-10-20 15:19:53 +0200
commitfe87d2b6117de1e32769b388fe1704440e339d27 (patch)
tree3f4ad769a64ea1689c677d47ae3c7e29f077ffeb /ring_tx.h
parent9addb47bec772b53a66c39efdd404290300d0e86 (diff)
astraceroute: use switch instead of lookup table for short proto idcoverity_scan
Avoid having a 58 entry array on stack of which only 3 are ever used. Just look up the short protocol identifier via a good'ol switch. Fixes Coverity CID 1381806 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_tx.h')
0 files changed, 0 insertions, 0 deletions
b41c920b47df2fcedd1489cf748bd09466'>diff)
Merge branch 'sh_eth-E-DMAC-interrupt-mask-cleanups'
Sergei Shtylyov says: ==================== sh_eth: E-DMAC interrupt mask cleanups Here's a set of 3 patches against DaveM's 'net-next.git' repo. The main goal of this set is to stop using the bare numbers for the E-DMAC interrupt masks. [1/3] sh_eth: rename EESIPR bits [2/3] sh_eth: add missing EESIPR bits [3/3] sh_eth: stop using bare numbers for EESIPR values ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/discover.h')