From: kernel test robot <lkp@intel.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Takashi Iwai <tiwai@suse.de>
Subject: [linux-next:master 1904/2170] sound/hda/hdac_stream.c:668: warning: Function parameter or struct member 'start' not described in 'snd_hdac_stream_timecounter_init'
Date: Thu, 3 Oct 2024 13:55:23 +0800 [thread overview]
Message-ID: <202410031300.ecLmATNd-lkp@intel.com> (raw)
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410031300.ecLmATNd-lkp@intel.com/
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@suse.de>
:::::: CC: Takashi Iwai <tiwai@suse.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-10-03 5:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410031300.ecLmATNd-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox