diff options
author | 2020-07-27 15:17:12 +0100 | |
---|---|---|
committer | 2020-07-27 12:46:28 -0700 | |
commit | 3540669761b8a26cd5a4ffb9b6c737bc8b941f00 (patch) | |
tree | 5fa768fd2c366b6417ef276122bf5002f4534de4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge branch 'sfc-driver-for-EF100-family-NICs-part-1' (diff) | |
download | linux-dev-3540669761b8a26cd5a4ffb9b6c737bc8b941f00.tar.xz linux-dev-3540669761b8a26cd5a4ffb9b6c737bc8b941f00.zip |
qed: fix assignment of n_rq_elems to incorrect params field
Currently n_rq_elems is being assigned to params.elem_size instead of the
field params.num_elems. Coverity is detecting this as a double assingment
to params.elem_size and reporting this as an usused value on the first
assignment. Fix this.
Addresses-Coverity: ("Unused value")
Fixes: b6db3f71c976 ("qed: simplify chain allocation with init params struct")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions