summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-05-13 13:08:09 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-05-13 16:01:50 -0300
commit59dde4d19cf8de232c17c79c08e0db67636b022b (patch)
treefb3347cd74f3f311cb457bc530f97607afa43317 /fs/sysfs
parentf29de9eee78253d9ae57cd58a6b21eed021742c8 (diff)
downloadlinux-59dde4d19cf8de232c17c79c08e0db67636b022b.tar.gz
linux-59dde4d19cf8de232c17c79c08e0db67636b022b.tar.bz2
linux-59dde4d19cf8de232c17c79c08e0db67636b022b.zip
RDMA/mlx5: Fix query_srq_cmd() function
The output buffer used in mlx5_cmd_exec_inout() was wrongly changed from pre-allocated srq_out pointer to an input "out" point. That leads to unpredictable results in the get_srqc() call later. Fixes: 31578defe4eb ("RDMA/mlx5: Update mlx5_ib to use new cmd interface") Link: https://lore.kernel.org/r/20200513100809.246315-1-leon@kernel.org Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions