• Takashi Sakamoto's avatar
    ALSA: fireworks: use u32 type for be32_to_cpup() macro · 463543ac
    Takashi Sakamoto authored
    In former commit, snd_efw_command_get_phys_meters() was added to handle
    metering data. The given buffer is used to save transaction result and to
    convert between endianness. But this causes sparse warnings.
    
    fireworks_command.c:269:25: warning: incorrect type in argument 1 (different base types)
    fireworks_command.c:269:25:    expected unsigned int [usertype] *p
    fireworks_command.c:269:25:    got restricted __be32 [usertype] *
    
    This commit fixes this bug.
    
    Fixes: bde8a8f2('ALSA: fireworks: Add transaction and some commands')
    Signed-off-by: 's avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    463543ac
Name
Last commit
Last update
..
Makefile Loading commit data...
fireworks.c Loading commit data...
fireworks.h Loading commit data...
fireworks_command.c Loading commit data...
fireworks_hwdep.c Loading commit data...
fireworks_midi.c Loading commit data...
fireworks_pcm.c Loading commit data...
fireworks_proc.c Loading commit data...
fireworks_stream.c Loading commit data...
fireworks_transaction.c Loading commit data...