Skip to content

Commit e9fdd26

Browse files
dianpopaacatangiu
authored andcommitted
virtio_sys: removing warning on packed struct...
containing an unaligned field. Signed-off-by: Diana Popa <[email protected]>
1 parent e9f8df3 commit e9fdd26

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

virtio_sys/src/virtio_net.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ fn bindgen_test_layout_virtio_net_ctrl_hdr() {
599599
}
600600
pub type virtio_net_ctrl_ack = __u8;
601601
#[repr(C, packed)]
602-
#[derive(Debug, Default)]
603602
pub struct virtio_net_ctrl_mac {
604603
pub entries: __virtio32,
605604
pub macs: __IncompleteArrayField<[__u8; 6usize]>,

0 commit comments

Comments
 (0)