diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-10-25 16:23:04 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-10-26 10:42:43 +0300 |
commit | b7cbd9c934ec08c3dd9436e1f4d1bd190553b202 (patch) | |
tree | f5124acd6c90532d9264027ae09e0d641201be8e /sound | |
parent | 264aeb994ea8db4a39a393d91b1f551b42309759 (diff) | |
download | linux-b7cbd9c934ec08c3dd9436e1f4d1bd190553b202.tar.xz |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/control_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control_compat.c b/sound/core/control_compat.c index 0e8b1bfb040e..63d787501066 100644 --- a/sound/core/control_compat.c +++ b/sound/core/control_compat.c @@ -74,7 +74,7 @@ struct snd_ctl_elem_info32 { unsigned char reserved[128]; } value; unsigned char reserved[64]; -} __attribute__((packed)); +} __packed; static int snd_ctl_elem_info_compat(struct snd_ctl_file *ctl, struct snd_ctl_elem_info32 __user *data32) |