- Remove unused variable ring->poll_cnt - No need to set some fields if using blueflame - Add missing const's - Use unlikely - Remove unneeded new line - Make some comments more precise - struct mlx4_bf @offset field reduced to unsigned int to save space
Showing the changes to include/linux/mlx4 (1 of 3 files). Show all
Unified · Split
| @@ -583,7 +583,7 @@ struct mlx4_uar { · 582 unmodified lines | ||
| 583 | 583 | }; |
| 584 | 584 | |
| 585 | 585 | struct mlx4_bf { |
| 586 | − unsigned long offset; | |
| 586 | + unsigned int offset; | |
| 587 | 587 | int buf_size; |
| 588 | 588 | struct mlx4_uar *uar; |
| 589 | 589 | void __iomem *reg; |