diff options
author | 2021-04-29 11:27:41 +0200 | |
---|---|---|
committer | 2021-05-03 11:00:11 -0600 | |
commit | c646790a1fcae7738972accc41ccaa4983e5c234 (patch) | |
tree | 81134ca1e9af73e113cac91876e12a8cf06e9eb1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | s390: dasd: Mundane spelling fixes (diff) | |
download | wireguard-linux-c646790a1fcae7738972accc41ccaa4983e5c234.tar.xz wireguard-linux-c646790a1fcae7738972accc41ccaa4983e5c234.zip |
RDMA/rtrs: fix uninitialized symbol 'cnt'
rtrs_clt_rdma_cq_direct returns an ninitialized value in cnt
if there is no session. This patch makes rtrs_clt_rdma_cq_direct
returns a negative value for block layer not to try again.
Fixes: 2958a995edc94 ("block/rnbd-clt: Support polling mode for IO latency optimization")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20210429092741.266533-1-gi-oh.kim@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions