diff options
author | Konstantin Meskhidze <konstantin.meskhidze@huawei.com> | 2023-09-05 18:32:58 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-09-11 15:01:09 +0300 |
commit | c489800e0d48097fc6afebd862c6afa039110a36 (patch) | |
tree | 34a37ebd4b6014b7c4cf599b473838e77b36c914 /drivers/infiniband/hw/erdma | |
parent | 8fb8a82086f5bda6893ea6557c5a458e4549c6d7 (diff) | |
download | linux-stable-c489800e0d48097fc6afebd862c6afa039110a36.tar.gz linux-stable-c489800e0d48097fc6afebd862c6afa039110a36.tar.bz2 linux-stable-c489800e0d48097fc6afebd862c6afa039110a36.zip |
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: da0f60df7bd5 ("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>
Diffstat (limited to 'drivers/infiniband/hw/erdma')
0 files changed, 0 insertions, 0 deletions