projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264aeb9
)
ALSA: control: Replace with __packed attribute
author
Takashi Iwai
<tiwai@suse.de>
Wed, 25 Oct 2023 13:23:04 +0000
(15:23 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Oct 2023 07:42:43 +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-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control_compat.c
patch
|
blob
|
history
diff --git
a/sound/core/control_compat.c
b/sound/core/control_compat.c
index 0e8b1bfb040e04a9c6ac47c57654136756100772..63d787501066c907dd5efcdccea52960e8a7c44b 100644
(file)
--- a/
sound/core/control_compat.c
+++ b/
sound/core/control_compat.c
@@
-74,7
+74,7
@@
struct snd_ctl_elem_info32 {
unsigned char reserved[128];
} value;
unsigned char reserved[64];
-} __
attribute__((packed))
;
+} __
packed
;
static int snd_ctl_elem_info_compat(struct snd_ctl_file *ctl,
struct snd_ctl_elem_info32 __user *data32)