linux-stable/sound/pci/lola
Takashi Iwai 0d9a26fc74 ALSA: lola: Proper endian notations
The BDL entries in lola driver are little-endian while we code them as
u32.  This leads to sparse warnings like:
  sound/pci/lola/lola.c:105:40: warning: incorrect type in assignment (different base types)
  sound/pci/lola/lola.c:105:40:    expected unsigned int [unsigned] [usertype] <noident>
  sound/pci/lola/lola.c:105:40:    got restricted __le32 [usertype] <noident>

This patch fixes the declarations to the proper __le32 type.

Also, there was a typo in the original code, where __user was used
that was intended as __iomem.  This was caused also by sparse:
  sound/pci/lola/lola_mixer.c:132:27: warning: incorrect type in assignment (different address spaces)
Fixed in this patch as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-07-27 09:06:05 +02:00
..
lola.c ALSA: lola: Proper endian notations 2018-07-27 09:06:05 +02:00
lola.h ALSA: lola: Proper endian notations 2018-07-27 09:06:05 +02:00
lola_clock.c ALSA: lola: Use standard printk helpers 2014-02-26 16:45:28 +01:00
lola_mixer.c ALSA: pci: constify snd_kcontrol_new structures 2017-02-21 22:01:21 +01:00
lola_pcm.c ALSA: lola: Proper endian notations 2018-07-27 09:06:05 +02:00
lola_proc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
Makefile ALSA: lola - fix lola build 2011-05-04 19:55:13 +02:00