Re: [PATCH v2 0/3] can: raw: optimize the sizes of struct uniqframe and struct raw_sock

From: Marc Kleine-Budde

Date: Fri Sep 19 2025 - 14:58:12 EST


On 17.09.2025 13:48:23, Vincent Mailhol wrote:
> A few bytes can be shaved out of can raw's struct uniqframe and struct
> raw_sock.
>
> Patch #1 reorders struct uniqframe fields to save 8 bytes.
>
> Patch #2 and #3 modify struct raw_sock to use bitfields and to reorder
> its fields to save 24 bytes in total.
>
> Signed-off-by: Vincent Mailhol <mailhol@xxxxxxxxxx>

Applied to linux-can-next.

Thanks,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature