From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2369:41-42: WARNING opportunity for secs_to_jiffies()
Date: Tue, 17 Nov 2026 17:19:36 +0100 [thread overview]
Message-ID: <20261117171434.MepvBli3-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Cyril Chao <Cyril.Chao@mediatek.com>
CC: Mark Brown <broonie@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 666539eecdf4db623f5e3c3e55cf9f2dfad24aa4
commit: 7eb1535855983f67b95c2ba777d686cc17188285 ASoC: mediatek: mt8189: add platform driver
date: 12 months ago
:::::: branch date: 23 hours ago
:::::: commit date: 12 months ago
config: arm64-randconfig-r2107-20261115 (https://download.01.org/0day-ci/archive/20261117/20261117171434.MepvBli3-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project c0693becb96c1610aeb87445a50df00d58a823cd)
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
| Fixes: 7eb153585598 ("ASoC: mediatek: mt8189: add platform driver")
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/20261117171434.MepvBli3-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2369:41-42: WARNING opportunity for secs_to_jiffies()
vim +2369 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c
7eb1535855983f Cyril Chao 2025-10-31 2364
7eb1535855983f Cyril Chao 2025-10-31 2365 static int mt8189_afe_pcm_open(struct snd_soc_component *component,
7eb1535855983f Cyril Chao 2025-10-31 2366 struct snd_pcm_substream *substream)
7eb1535855983f Cyril Chao 2025-10-31 2367 {
7eb1535855983f Cyril Chao 2025-10-31 2368 /* set the wait_for_avail to 2 sec*/
7eb1535855983f Cyril Chao 2025-10-31 @2369 substream->wait_time = msecs_to_jiffies(2 * 1000);
7eb1535855983f Cyril Chao 2025-10-31 2370
7eb1535855983f Cyril Chao 2025-10-31 2371 return 0;
7eb1535855983f Cyril Chao 2025-10-31 2372 }
7eb1535855983f Cyril Chao 2025-10-31 2373
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-11-17 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 16:19 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-16 14:25 sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2369:41-42: WARNING opportunity for secs_to_jiffies() kernel test robot
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=20261117171434.MepvBli3-lkp@intel.com \
--to=lkp@intel.com \
--cc=julia.lawall@inria.fr \
--cc=oe-kbuild@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.