diff mbox series

[01/11] ALSA: control: Replace with __packed attribute

Message ID 20231025132314.5878-2-tiwai@suse.de (mailing list archive)
State Accepted
Commit b7cbd9c934ec08c3dd9436e1f4d1bd190553b202
Headers show
Series ALSA: Replace with __packed attribute | expand

Commit Message

Takashi Iwai Oct. 25, 2023, 1:23 p.m. UTC
Replace the old __attribute__((packed)) with the new __packed.
Only cleanup, no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/core/control_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)