summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2026-04-10 09:49:15 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-09-29 13:33:37 -0700
commit74a4378ee5b9e9f5fdbd321db23cf4f83fca0834 (patch)
treea755c4753a8df5175893ef5745f1e4ca3c4b4bec /include
parentc160960c7f7ecb6317b73f8d93780847f3f63a87 (diff)
ice: reorder ice_flash_info fields to eliminate padding
The ice_flash_info structure has a u16 sr_words field before a u32 flash_size value. This creates a 2-byte hole as well as 3 bytes of padding at the end of the structure due to the blank_nvm_mode bitfield. Re-order the structure to place flash_size first, which gives a better layout and reduces padding. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Alexander Nowlin <alexander.nowlin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions