All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2369:41-42: WARNING opportunity for secs_to_jiffies()
@ 2026-11-16 14:25 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-16 14:25 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

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:   aebb7274476403040d582c61478df8f4a7bf9cd3
commit: 7eb1535855983f67b95c2ba777d686cc17188285 ASoC: mediatek: mt8189: add platform driver
date:   12 months ago
:::::: branch date: 16 hours ago
:::::: commit date: 12 months ago
config: arm64-randconfig-r2107-20261115 (https://download.01.org/0day-ci/archive/20261116/202611161506.1PAhofYo-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/202611161506.1PAhofYo-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

7eb1535855983f6 Cyril Chao 2025-10-31  2364  
7eb1535855983f6 Cyril Chao 2025-10-31  2365  static int mt8189_afe_pcm_open(struct snd_soc_component *component,
7eb1535855983f6 Cyril Chao 2025-10-31  2366  			       struct snd_pcm_substream *substream)
7eb1535855983f6 Cyril Chao 2025-10-31  2367  {
7eb1535855983f6 Cyril Chao 2025-10-31  2368  	/* set the wait_for_avail to 2 sec*/
7eb1535855983f6 Cyril Chao 2025-10-31 @2369  	substream->wait_time = msecs_to_jiffies(2 * 1000);
7eb1535855983f6 Cyril Chao 2025-10-31  2370  
7eb1535855983f6 Cyril Chao 2025-10-31  2371  	return 0;
7eb1535855983f6 Cyril Chao 2025-10-31  2372  }
7eb1535855983f6 Cyril Chao 2025-10-31  2373  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread
* sound/soc/mediatek/mt8189/mt8189-afe-pcm.c:2369:41-42: WARNING opportunity for secs_to_jiffies()
@ 2026-11-17 16:19 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-17 16:19 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-17 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2026-11-17 16:19 kernel test robot

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.