[PATCH 2/3] i2c: xiic: Improve struct memory alignment

Wolfram Sang wsa at the-dreams.de
Fri Aug 28 03:02:50 EDT 2020


On Thu, Aug 27, 2020 at 05:48:47PM +0300, ext-jaakko.laine at vaisala.com wrote:
> From: Jaakko Laine <ext-jaakko.laine at vaisala.com>
> 
> xiic_i2c struct alignment causes the struct to
> take more space in memory than strictly required.
> Move state -member to end of struct to get less
> padding.
> 
> Signed-off-by: Jaakko Laine <ext-jaakko.laine at vaisala.com>
> Suggested-by: Michal Simek <michal.simek at xilinx.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200828/bec093b4/attachment.sig>


More information about the linux-arm-kernel mailing list