Skip to content

Commit fdbe0f2

Browse files
committed
ALSA: pcm: 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-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent b7cbd9c commit fdbe0f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/core/pcm_native.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ struct snd_pcm_mmap_status32 {
30893089
snd_pcm_state_t suspended_state;
30903090
s32 audio_tstamp_sec;
30913091
s32 audio_tstamp_nsec;
3092-
} __attribute__((packed));
3092+
} __packed;
30933093

30943094
struct snd_pcm_mmap_control32 {
30953095
u32 appl_ptr;
@@ -3106,7 +3106,7 @@ struct snd_pcm_sync_ptr32 {
31063106
struct snd_pcm_mmap_control32 control;
31073107
unsigned char reserved[64];
31083108
} c;
3109-
} __attribute__((packed));
3109+
} __packed;
31103110

31113111
/* recalcuate the boundary within 32bit */
31123112
static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime)

0 commit comments

Comments
 (0)