diff options
| author | Gioh Kim <[email protected]> | 2021-04-29 09:27:41 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-05-03 17:00:11 +0000 |
| commit | c646790a1fcae7738972accc41ccaa4983e5c234 (patch) | |
| tree | 81134ca1e9af73e113cac91876e12a8cf06e9eb1 /drivers/net/wwan/iosm/iosm_ipc_task_queue.c | |
| parent | s390: dasd: Mundane spelling fixes (diff) | |
| download | kernel-c646790a1fcae7738972accc41ccaa4983e5c234.tar.gz kernel-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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Gioh Kim <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_task_queue.c')
0 files changed, 0 insertions, 0 deletions
