]> 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)
commitb3ba5053ef6f3bd6eb96630057f80c3e1a2fbece
treec2488d2b7eec981f03152395cf98536777ae36c3
parent6167bfed07f78463c232f16237b13cb2461a9bb8
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