Skip to content

Commit 970171a

Browse files
committed
ALSA: seq: Replace with __packed attribute
Replace the old __attribute__((packed)) with the new __packed. Only cleanup, no functional changes. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent ba23823 commit 970171a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/sound/asequencer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ struct snd_seq_ev_raw32 {
207207
struct snd_seq_ev_ext {
208208
unsigned int len; /* length of data */
209209
void *ptr; /* pointer to data (note: maybe 64-bit) */
210-
} __attribute__((packed));
210+
} __packed;
211211

212212
struct snd_seq_result {
213213
int event; /* processed event type */
@@ -251,7 +251,7 @@ struct snd_seq_ev_quote {
251251
struct snd_seq_addr origin; /* original sender */
252252
unsigned short value; /* optional data */
253253
struct snd_seq_event *event; /* quoted event */
254-
} __attribute__((packed));
254+
} __packed;
255255

256256
union snd_seq_event_data { /* event data... */
257257
struct snd_seq_ev_note note;

0 commit comments

Comments
 (0)