Skip to content

Commit dafb82e

Browse files
sfrothwelltiwai
authored andcommitted
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: 0b5288f ("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>
1 parent 6b39e30 commit dafb82e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/sound/ump_msg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,13 @@ struct snd_ump_midi1_msg_program {
192192
u32 program:8;
193193
u32 reserved:8;
194194
#else
195-
#endif
196195
u32 reserved:8;
197196
u32 program:8;
198197
u32 channel:4;
199198
u32 status:4;
200199
u32 group:4;
201200
u32 type:4;
201+
#endif
202202
} __packed;
203203

204204
/* MIDI 1.0 Channel Pressure (32bit) */

0 commit comments

Comments
 (0)