aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/raw.c
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-05-20 13:19:02 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-05-29 13:03:21 -0300
commit37eb86c4507abcb14fc346863e83aa8751aa4675 (patch)
treea78d5164545ca1afe026ca5f76bae6e188072c77 /net/ipv6/raw.c
parentIB/hfi1: Validate page aligned for a given virtual address (diff)
downloadlinux-dev-37eb86c4507abcb14fc346863e83aa8751aa4675.tar.xz
linux-dev-37eb86c4507abcb14fc346863e83aa8751aa4675.zip
mlx5: avoid 64-bit division
Commit 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type") breaks i386 build by introducing three 64-bit divisions. As the divisor is MLX5_SW_ICM_BLOCK_SIZE() which is always a power of 2, we can replace the division with bit operations. Fixes: 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type") Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net/ipv6/raw.c')
0 files changed, 0 insertions, 0 deletions