Skip to content

Commit eacee5b

Browse files
committed
linux: Remove incorrect repr(align(8)) for canxl_frame
`can_frame` and `canfd_frame` need this, but `canxl_frame` does not. This was causing the struct to be incorrectly aligned. (backport <#4760>) (cherry picked from commit 488022e)
1 parent ea4ead9 commit eacee5b

File tree

1 file changed

+0
-1
lines changed
  • src/new/linux_uapi/linux

1 file changed

+0
-1
lines changed

src/new/linux_uapi/linux/can.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ pub const CANXL_XLF: c_int = 0x80;
7272
pub const CANXL_SEC: c_int = 0x01;
7373

7474
s! {
75-
#[repr(align(8))]
7675
pub struct canxl_frame {
7776
pub prio: canid_t,
7877
pub flags: u8,

0 commit comments

Comments
 (0)