projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7cbd9c
)
ALSA: pcm: Replace with __packed attribute
author
Takashi Iwai
<tiwai@suse.de>
Wed, 25 Oct 2023 13:23:05 +0000
(15:23 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Oct 2023 07:42:51 +0000
(09:42 +0200)
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>
sound/core/pcm_native.c
patch
|
blob
|
history
diff --git
a/sound/core/pcm_native.c
b/sound/core/pcm_native.c
index bd9ddf412b4655157e515542547b3deef9a9d692..e1eabe9ca90f639c48a1dcf6900af990485a678f 100644
(file)
--- a/
sound/core/pcm_native.c
+++ b/
sound/core/pcm_native.c
@@
-3089,7
+3089,7
@@
struct snd_pcm_mmap_status32 {
snd_pcm_state_t suspended_state;
s32 audio_tstamp_sec;
s32 audio_tstamp_nsec;
-} __
attribute__((packed))
;
+} __
packed
;
struct snd_pcm_mmap_control32 {
u32 appl_ptr;
@@
-3106,7
+3106,7
@@
struct snd_pcm_sync_ptr32 {
struct snd_pcm_mmap_control32 control;
unsigned char reserved[64];
} c;
-} __
attribute__((packed))
;
+} __
packed
;
/* recalcuate the boundary within 32bit */
static snd_pcm_uframes_t recalculate_boundary(struct snd_pcm_runtime *runtime)