ALSA: seq: Replace with __packed attribute
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Oct 2023 13:23:14 +0000 (15:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Oct 2023 07:43:28 +0000 (09:43 +0200)
Replace the old __attribute__((packed)) with the new __packed.
Only cleanup, no functional changes.

Link: https://lore.kernel.org/r/20231025132314.5878-12-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asequencer.h

index b5bc8604efe8eee5733cfb6228255c5b8ac7d2fc..c85fdd8895d844c9c02d2d419d49878b94b8ff86 100644 (file)
@@ -207,7 +207,7 @@ struct snd_seq_ev_raw32 {
 struct snd_seq_ev_ext {
        unsigned int len;       /* length of data */
        void *ptr;              /* pointer to data (note: maybe 64-bit) */
-} __attribute__((packed));
+} __packed;
 
 struct snd_seq_result {
        int event;              /* processed event type */
@@ -251,7 +251,7 @@ struct snd_seq_ev_quote {
        struct snd_seq_addr origin;             /* original sender */
        unsigned short value;           /* optional data */
        struct snd_seq_event *event;            /* quoted event */
-} __attribute__((packed));
+} __packed;
 
 union snd_seq_event_data { /* event data... */
        struct snd_seq_ev_note note;