mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
ALSA: rawmidi: 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-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
fdbe0f2044
commit
2fb203dbea
@ -15,7 +15,7 @@ struct snd_rawmidi_params32 {
|
|||||||
unsigned int no_active_sensing; /* avoid bit-field */
|
unsigned int no_active_sensing; /* avoid bit-field */
|
||||||
unsigned int mode;
|
unsigned int mode;
|
||||||
unsigned char reserved[12];
|
unsigned char reserved[12];
|
||||||
} __attribute__((packed));
|
} __packed;
|
||||||
|
|
||||||
static int snd_rawmidi_ioctl_params_compat(struct snd_rawmidi_file *rfile,
|
static int snd_rawmidi_ioctl_params_compat(struct snd_rawmidi_file *rfile,
|
||||||
struct snd_rawmidi_params32 __user *src)
|
struct snd_rawmidi_params32 __user *src)
|
||||||
@ -51,7 +51,7 @@ struct compat_snd_rawmidi_status64 {
|
|||||||
u32 avail;
|
u32 avail;
|
||||||
u32 xruns;
|
u32 xruns;
|
||||||
unsigned char reserved[16];
|
unsigned char reserved[16];
|
||||||
} __attribute__((packed));
|
} __packed;
|
||||||
|
|
||||||
static int snd_rawmidi_ioctl_status_compat64(struct snd_rawmidi_file *rfile,
|
static int snd_rawmidi_ioctl_status_compat64(struct snd_rawmidi_file *rfile,
|
||||||
struct compat_snd_rawmidi_status64 __user *src)
|
struct compat_snd_rawmidi_status64 __user *src)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user