diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-10-25 15:23:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-10-26 09:42:55 +0200 |
commit | 2fb203dbeaea54255d1ca8ae93b8a69a096d44b2 (patch) | |
tree | 4cdefbe33d929ea25db2df5545096c317454f955 /sound/core | |
parent | fdbe0f20445cc005f951088eae9d210382846f87 (diff) |
ALSA: rawmidi: 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-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/rawmidi_compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/rawmidi_compat.c b/sound/core/rawmidi_compat.c index b81b30d82f88..2c6de6e113e4 100644 --- a/sound/core/rawmidi_compat.c +++ b/sound/core/rawmidi_compat.c @@ -15,7 +15,7 @@ struct snd_rawmidi_params32 { unsigned int no_active_sensing; /* avoid bit-field */ unsigned int mode; unsigned char reserved[12]; -} __attribute__((packed)); +} __packed; static int snd_rawmidi_ioctl_params_compat(struct snd_rawmidi_file *rfile, struct snd_rawmidi_params32 __user *src) @@ -51,7 +51,7 @@ struct compat_snd_rawmidi_status64 { u32 avail; u32 xruns; unsigned char reserved[16]; -} __attribute__((packed)); +} __packed; static int snd_rawmidi_ioctl_status_compat64(struct snd_rawmidi_file *rfile, struct compat_snd_rawmidi_status64 __user *src) |