android_kernel_xiaomi_sm8350/drivers/infiniband/core
Konstantin Meskhidze 8ab1fb16dc RDMA/uverbs: Fix typo of sizeof argument
commit c489800e0d48097fc6afebd862c6afa039110a36 upstream.

Since size of 'hdr' pointer and '*hdr' structure is equal on 64-bit
machines issue probably didn't cause any wrong behavior. But anyway,
fixing of typo is required.

Fixes: da0f60df7b ("RDMA/uverbs: Prohibit write() calls with too small buffers")
Co-developed-by: Ivanov Mikhail <ivanov.mikhail1@huawei-partners.com>
Signed-off-by: Ivanov Mikhail <ivanov.mikhail1@huawei-partners.com>
Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Link: https://lore.kernel.org/r/20230905103258.1738246-1-konstantin.meskhidze@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-10 21:46:45 +02:00
..
addr.c
agent.c
agent.h
cache.c
cgroup.c
cm_msgs.h
cm.c
cma_configfs.c RDMA/cma: Fix truncation compilation warning in make_cma_ports 2023-10-10 21:46:45 +02:00
cma_priv.h
cma.c
core_priv.h
counters.c
cq.c
device.c RDMA/core: Fix order of nldev_exit call 2023-01-18 11:41:17 +01:00
fmr_pool.c
iwcm.c
iwcm.h
iwpm_msg.c
iwpm_util.c
iwpm_util.h
mad_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c
Makefile
mr_pool.c
multicast.c
netlink.c
nldev.c RDMA/core: Require admin capabilities to set system parameters 2023-10-10 21:46:45 +02:00
opa_smi.h
packer.c
rdma_core.c
rdma_core.h
restrack.c
restrack.h
roce_gid_mgmt.c
rw.c
sa_query.c
sa.h
security.c
smi.c
smi.h
sysfs.c
ucma.c
ud_header.c
umem_odp.c
umem.c
user_mad.c RDMA/core: Fix multiple -Warray-bounds warnings 2023-05-30 12:44:04 +01:00
uverbs_cmd.c RDMA/uverbs: Restrict usage of privileged QKEYs 2023-06-21 15:44:10 +02:00
uverbs_ioctl.c
uverbs_main.c RDMA/uverbs: Fix typo of sizeof argument 2023-10-10 21:46:45 +02:00
uverbs_marshall.c
uverbs_std_types_counters.c IB/uverbs: Fix an potential error pointer dereference 2023-09-23 10:59:50 +02:00
uverbs_std_types_cq.c
uverbs_std_types_device.c
uverbs_std_types_dm.c
uverbs_std_types_flow_action.c
uverbs_std_types_mr.c
uverbs_std_types.c
uverbs_uapi.c
uverbs.h
verbs.c RDMA/core: Fix GID entry ref leak when create_ah fails 2023-04-20 12:07:36 +02:00