diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-12-26 15:06:17 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-28 16:07:35 -0800 |
commit | 140c7bc7d1195750342ea0e6ab76179499ae7cd7 (patch) | |
tree | fa0c0aaa014392448ee955be79c64a1e39bec6e8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 16fa29aef7963293f8792789210002ec9f9607ac (diff) |
ionic: Initialize the 'lif->dbid_inuse' bitmap
When allocated, this bitmap is not initialized. Only the first bit is set a
few lines below.
Use bitmap_zalloc() to make sure that it is cleared before being used.
Fixes: 6461b446f2a0 ("ionic: Add interrupts and doorbells")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Link: https://lore.kernel.org/r/6a478eae0b5e6c63774e1f0ddb1a3f8c38fa8ade.1640527506.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions