diff options
author | 2021-11-08 22:28:55 +0100 | |
---|---|---|
committer | 2021-11-10 14:33:04 +0000 | |
commit | 7a166854b4e24c57d56b3eba9fe1594985ee0a2c (patch) | |
tree | 84f8b7ae69cb51a60e78c6c881d002f00d040065 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: allow a tc-taprio base-time of zero (diff) | |
download | wireguard-linux-7a166854b4e24c57d56b3eba9fe1594985ee0a2c.tar.xz wireguard-linux-7a166854b4e24c57d56b3eba9fe1594985ee0a2c.zip |
net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory
It is spurious to allocate a bitmap without initializing it.
So, better safe than sorry, initialize it to 0 at least to have some known
values.
While at it, switch to the devm_bitmap_ API which is less verbose.
Fixes: 4b41d3436796 ("net: ethernet: ti: cpsw: allow untagged traffic on host port")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions