]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Proper endian notations for BDL pointers
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:24:03 +0000 (23:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2018 07:06:01 +0000 (09:06 +0200)
commit6f9a5266773abe940f08b9963c0acfbdd9274779
treec2488d2b7eec981f03152395cf98536777ae36c3
parent95c2f08c14ba70f0ddd7e5214af9dae95bb756a3
ALSA: hda: Proper endian notations for BDL pointers

The BDL pointer used in snd_hdac_dsp_prepare() should be declared as
__le32, as warned by sparse:
  sound/hda/hdac_stream.c:655:47: warning: incorrect type in argument 4 (different base types)
  sound/hda/hdac_stream.c:655:47:    expected restricted __le32 [usertype] **bdlp
  sound/hda/hdac_stream.c:655:47:    got unsigned int [usertype] **<noident>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_stream.c