This is a warning coming up on Android (ARM) platform. Clang 4.x creates a false positive here: the can_id is the first (and aligned) value in the packed struct modattr, so it's always aligned if the struct itself is aligned.