Skip to content

Commit d69137f

Browse files
committed
linux: canxl_frame is not aligned to 8 bytes
The added #[repr(8)] was spurious and added an extra 4 bytes of padding Signed-off-by: Pedro Tammela <[email protected]>
1 parent 526fe4d commit d69137f

File tree

1 file changed

+0
-1
lines changed
  • src/unix/linux_like/linux

1 file changed

+0
-1
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,6 @@ s_no_extra_traits! {
17081708
pub data: [u8; CANFD_MAX_DLEN],
17091709
}
17101710

1711-
#[repr(align(8))]
17121711
#[allow(missing_debug_implementations)]
17131712
pub struct canxl_frame {
17141713
pub prio: canid_t,

0 commit comments

Comments
 (0)