diff options
| author | Shay Drory <[email protected]> | 2021-06-16 15:58:26 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-08-11 18:14:31 +0000 |
| commit | 211f4f99edc0d2cd909f1a37561573f7b7d9fc42 (patch) | |
| tree | 21754cbc589f0ba90f0a5e325bc40932c65ebadd /drivers/fpga/socfpga-a10.c | |
| parent | net/mlx5: Delete impossible dev->state checks (diff) | |
| download | kernel-211f4f99edc0d2cd909f1a37561573f7b7d9fc42.tar.gz kernel-211f4f99edc0d2cd909f1a37561573f7b7d9fc42.zip | |
net/mlx5: Align mlx5_irq structure
mlx5_irq structure have holes due to incorrect position of fields in it.
Make them naturally align.
pahole output after alignment:
struct mlx5_irq {
struct atomic_notifier_head nh; /* 0 72 */
/* --- cacheline 1 boundary (64 bytes) was 8 bytes ago --- */
cpumask_var_t mask; /* 72 8 */
char name[32]; /* 80 32 */
struct mlx5_irq_pool * pool; /* 112 8 */
struct kref kref; /* 120 4 */
u32 index; /* 124 4 */
/* --- cacheline 2 boundary (128 bytes) --- */
int irqn; /* 128 4 */
/* size: 136, cachelines: 3, members: 7 */
/* padding: 4 */
/* last cacheline: 8 bytes */
};
Signed-off-by: Shay Drory <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions
