tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c02d24a5af66a9806922391493205a344749f2c4 commit: df5215618fbe425875336d3a2d31bd599ae8c401 [1904/2170] ALSA: hda: fix trigger_tstamp_latched config: mips-mtx1_defconfig (https://download.01.org/0day-ci/archive/20241003/202410031300.ecLmATNd-lkp@xxxxxxxxx/config) compiler: mipsel-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241003/202410031300.ecLmATNd-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202410031300.ecLmATNd-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> sound/hda/hdac_stream.c:668: warning: Function parameter or struct member 'start' not described in 'snd_hdac_stream_timecounter_init' vim +668 sound/hda/hdac_stream.c 14752412721c61 Takashi Iwai 2015-04-14 655 14752412721c61 Takashi Iwai 2015-04-14 656 /** 14752412721c61 Takashi Iwai 2015-04-14 657 * snd_hdac_stream_timecounter_init - initialize time counter 14752412721c61 Takashi Iwai 2015-04-14 658 * @azx_dev: HD-audio core stream (master stream) 14752412721c61 Takashi Iwai 2015-04-14 659 * @streams: bit flags of streams to set up 14752412721c61 Takashi Iwai 2015-04-14 660 * 14752412721c61 Takashi Iwai 2015-04-14 661 * Initializes the time counter of streams marked by the bit flags (each 14752412721c61 Takashi Iwai 2015-04-14 662 * bit corresponds to the stream index). 14752412721c61 Takashi Iwai 2015-04-14 663 * The trigger timestamp of PCM substream assigned to the given stream is 14752412721c61 Takashi Iwai 2015-04-14 664 * updated accordingly, too. 14752412721c61 Takashi Iwai 2015-04-14 665 */ 14752412721c61 Takashi Iwai 2015-04-14 666 void snd_hdac_stream_timecounter_init(struct hdac_stream *azx_dev, df5215618fbe42 Jaroslav Kysela 2024-10-02 667 unsigned int streams, bool start) 14752412721c61 Takashi Iwai 2015-04-14 @668 { 14752412721c61 Takashi Iwai 2015-04-14 669 struct hdac_bus *bus = azx_dev->bus; 14752412721c61 Takashi Iwai 2015-04-14 670 struct snd_pcm_runtime *runtime = azx_dev->substream->runtime; 14752412721c61 Takashi Iwai 2015-04-14 671 struct hdac_stream *s; 14752412721c61 Takashi Iwai 2015-04-14 672 bool inited = false; a5a1d1c2914b53 Thomas Gleixner 2016-12-21 673 u64 cycle_last = 0; 14752412721c61 Takashi Iwai 2015-04-14 674 df5215618fbe42 Jaroslav Kysela 2024-10-02 675 if (!start) df5215618fbe42 Jaroslav Kysela 2024-10-02 676 goto skip; df5215618fbe42 Jaroslav Kysela 2024-10-02 677 14752412721c61 Takashi Iwai 2015-04-14 678 list_for_each_entry(s, &bus->stream_list, list) { 26257869672fd4 Takashi Iwai 2023-11-21 679 if ((streams & (1 << s->index))) { 14752412721c61 Takashi Iwai 2015-04-14 680 azx_timecounter_init(s, inited, cycle_last); 14752412721c61 Takashi Iwai 2015-04-14 681 if (!inited) { 14752412721c61 Takashi Iwai 2015-04-14 682 inited = true; 14752412721c61 Takashi Iwai 2015-04-14 683 cycle_last = s->tc.cycle_last; 14752412721c61 Takashi Iwai 2015-04-14 684 } 14752412721c61 Takashi Iwai 2015-04-14 685 } 14752412721c61 Takashi Iwai 2015-04-14 686 } 14752412721c61 Takashi Iwai 2015-04-14 687 df5215618fbe42 Jaroslav Kysela 2024-10-02 688 skip: 14752412721c61 Takashi Iwai 2015-04-14 689 snd_pcm_gettime(runtime, &runtime->trigger_tstamp); 14752412721c61 Takashi Iwai 2015-04-14 690 runtime->trigger_tstamp_latched = true; 14752412721c61 Takashi Iwai 2015-04-14 691 } 14752412721c61 Takashi Iwai 2015-04-14 692 EXPORT_SYMBOL_GPL(snd_hdac_stream_timecounter_init); 14752412721c61 Takashi Iwai 2015-04-14 693 :::::: The code at line 668 was first introduced by commit :::::: 14752412721c61d9ac1e8d8fb51d7148cb15f85b ALSA: hda - Add the controller helper codes to hda-core module :::::: TO: Takashi Iwai <tiwai@xxxxxxx> :::::: CC: Takashi Iwai <tiwai@xxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki