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: bde8a8f23bbe('ALSA: fireworks: Add transaction and some commands')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||
|---|---|---|
| .. | ||
| fireworks.c | ||
| fireworks.h | ||
| fireworks_command.c | ||
| fireworks_hwdep.c | ||
| fireworks_midi.c | ||
| fireworks_pcm.c | ||
| fireworks_proc.c | ||
| fireworks_stream.c | ||
| fireworks_transaction.c | ||
| Makefile | ||