Skip to content
Commit c489800e authored by Konstantin Meskhidze's avatar Konstantin Meskhidze Committed by Leon Romanovsky
Browse files

RDMA/uverbs: Fix typo of sizeof argument



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: da0f60df ("RDMA/uverbs: Prohibit write() calls with too small buffers")
Co-developed-by: default avatarIvanov Mikhail <ivanov.mikhail1@huawei-partners.com>
Signed-off-by: default avatarIvanov Mikhail <ivanov.mikhail1@huawei-partners.com>
Signed-off-by: default avatarKonstantin Meskhidze <konstantin.meskhidze@huawei.com>
Link: https://lore.kernel.org/r/20230905103258.1738246-1-konstantin.meskhidze@huawei.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 8fb8a820
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment