1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 09:32:12 +00:00
Christophe JAILLET ae2ade4ba5
spi: Reorder fields in 'struct spi_message'
Group some variables based on their sizes to reduce hole and avoid padding.
On x86_64, this shrinks the size from 112 to 96 bytes.

This should have no real impact on memory allocation because 'struct
spi_message' is mostly used on stack, but it can save a few cycles
when the structure is initialized with spi_message_init() and co.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/c112aad16eb47808e1ec10abd87b3d273c969a68.1677704283.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-05 23:41:29 +00:00
..
2023-02-24 17:18:54 -08:00
2023-02-27 10:04:49 -08:00
2023-02-22 11:05:56 -08:00
2023-02-16 13:42:22 +01:00
2023-02-22 14:21:40 -08:00
2023-02-24 15:11:03 -08:00
2023-02-24 15:11:03 -08:00
2023-02-27 09:47:26 -08:00
2023-02-25 11:30:21 -08:00
2023-02-24 17:12:23 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 17:29:52 -08:00
2023-02-20 09:20:55 -05:00
2023-02-24 12:58:55 -08:00
2023-02-15 19:38:50 +01:00
2023-03-03 10:21:39 -08:00
2023-03-05 10:49:37 -08:00
2023-02-25 11:30:21 -08:00
2023-02-24 17:18:54 -08:00
2023-02-06 19:06:58 +01:00
2023-02-22 18:28:03 -08:00
2023-02-24 12:58:55 -08:00
2023-02-20 12:33:41 -08:00
2023-02-24 12:58:55 -08:00
2023-02-22 12:36:25 -08:00
2023-02-22 13:50:13 -08:00
2023-02-24 14:34:12 -08:00
2023-02-24 14:34:12 -08:00
2023-02-13 10:11:20 +02:00
2023-02-23 14:05:08 -08:00
2023-02-23 14:00:10 -08:00
2023-02-22 14:21:40 -08:00
2023-02-22 14:47:20 -08:00
2023-02-24 13:31:53 -08:00
2023-02-25 11:48:02 -08:00
2023-02-25 09:19:23 -08:00
2023-02-23 13:43:23 +01:00
2023-02-21 18:24:12 -08:00
2023-02-20 17:41:08 -08:00
2023-02-16 18:10:18 +01:00
2023-02-23 10:20:49 -08:00
2023-02-20 19:26:58 -05:00