Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: ump: Correct snd_ump_midi1_msg_program definition

The #endif is placed obviously at a wrong position, which caused a
build error on the big endian machine.

Fixes: 0b5288f5fe63 ("ALSA: ump: Add legacy raw MIDI support")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20230524135448.3ecad334@canb.auug.org.au
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Stephen Rothwell and committed by
Takashi Iwai
dafb82e7 6b39e30d

+1 -1
+1 -1
include/sound/ump_msg.h
··· 192 192 u32 program:8; 193 193 u32 reserved:8; 194 194 #else 195 - #endif 196 195 u32 reserved:8; 197 196 u32 program:8; 198 197 u32 channel:4; 199 198 u32 status:4; 200 199 u32 group:4; 201 200 u32 type:4; 201 + #endif 202 202 } __packed; 203 203 204 204 /* MIDI 1.0 Channel Pressure (32bit) */