Skip to content

Commit b7cbd9c

Browse files
committed
ALSA: control: Replace with __packed attribute
Replace the old __attribute__((packed)) with the new __packed. Only cleanup, no functional changes. Link: https://lore.kernel.org/r/20231025132314.5878-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 264aeb9 commit b7cbd9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/core/control_compat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct snd_ctl_elem_info32 {
7474
unsigned char reserved[128];
7575
} value;
7676
unsigned char reserved[64];
77-
} __attribute__((packed));
77+
} __packed;
7878

7979
static int snd_ctl_elem_info_compat(struct snd_ctl_file *ctl,
8080
struct snd_ctl_elem_info32 __user *data32)

0 commit comments

Comments
 (0)