From 2ba51d3ab89928077461421c3bd229c57d5addd0 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 10 Sep 2016 20:36:33 +1000 Subject: [PATCH] include/linux/mlx5/device.h: kill BUILD_BUG_ON()s these go splat for me Signed-off-by: Andrew Morton --- include/linux/mlx5/device.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index 77c141797152..37a130eff270 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h @@ -93,8 +93,6 @@ __mlx5_mask(typ, fld)) }) #define MLX5_SET64(typ, p, fld, v) do { \ - BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \ - BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \ *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = cpu_to_be64(v); \ } while (0) -- 2.34.1