Re: [PATCH] spi: Reorder fields in 'struct spi_transfer'

From: Mark Brown
Date: Tue Feb 14 2023 - 16:10:59 EST


On Tue, 14 Feb 2023 11:34:50 +0100, Christophe JAILLET wrote:
> Group some variables based on their sizes to reduce hole and avoid padding.
> On x86_64, this shrinks the size from 144 to 128 bytes.
>
> Turn 'timestamped' into a bitfield so that it can be easily merged with
> some other bifields and move 'error'.
>
> This should have no real impact on memory allocation because 'struct
> spi_transfer' is mostly used on stack, but it can save a few cycles
> when the structure is initialized or copied.
>
> [...]

Applied to

broonie/spi.git for-next

Thanks!

[1/1] spi: Reorder fields in 'struct spi_transfer'
commit: 9d77522b45246c3dc5950b9641aea49ce3c973d7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark