diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-01-13 21:00:53 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-01-14 08:43:44 +0100 |
commit | 1105592cb8fdfcc96f2c9c693ff4106bac5fac7c (patch) | |
tree | d4ca2ef62940130deaa2707310f1511455b393e6 /net/dsa/master.c | |
parent | 741b91f1b0ea34f00f6a7d4539b767c409291fcf (diff) |
can: tcan4x5x: remove __packed attribute from struct tcan4x5x_map_buf
The first member of struct tcan4x5x_map_buf is the struct tcan4x5x_buf_cmd,
which has a size of 4 bytes. It's followed by an array of u8. The compiler
places the array directly after the struct tcan4x5x_buf_cmd.
This patch removes the not needed attribute __packed from the struct
tcan4x5x_map_buf.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20210113203955.912916-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions