aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2021-09-08 08:18:49 +0000
committerJason Gunthorpe <[email protected]>2021-09-08 11:31:10 +0000
commitf4c6f31011eafe027abddf6cee1288a1b5a05b73 (patch)
tree248ad1f8ea2d14579e056416a6783be5eb2fd9fd /lib/netdev-notifier-error-inject.c
parentRDMA/mlx5: Fix number of allocated XLT entries (diff)
downloadkernel-f4c6f31011eafe027abddf6cee1288a1b5a05b73.tar.gz
kernel-f4c6f31011eafe027abddf6cee1288a1b5a05b73.zip
RDMA/mlx5: Fix xlt_chunk_align calculation
The XLT chunk alignment depends on ent_size not sizeof(ent_size) aka sizeof(size_t). The incoming ent_size is either 8 or 16, so the miscalculation when 16 is required is only an over-alignment and functional harmless. Fixes: 8010d74b9965 ("RDMA/mlx5: Split the WR setup out of mlx5_ib_update_xlt()") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions