summaryrefslogtreecommitdiffstats
path: root/src/suffix-rules.mk
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-01-08 09:24:04 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2018-01-09 20:20:13 +0000
commit8554f8adcc97b10eee674762307bfb2ede76d722 (patch)
tree4151f47bfd47bb069a87346576c54b889fbada03 /src/suffix-rules.mk
parent6f1e8b9947ec23b524f340da035c37c07938c268 (diff)
memif: fix coverity divide by zero
Coverity complains about divide by zero if tx_queues gets the value of 0 from the macro vec_len(). While we don't anticipate such condition to happen, programming errors may exist. To defend against divide by zero, crash and burn if tx_queues gets a value of 0. Change-Id: I65e014c07e9d4adfe119d5b373b5dc24cb818a03 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/suffix-rules.mk')
0 files changed, 0 insertions, 0 deletions