* sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused variable 'mt8192_afe_pm_ops'
@ 2021-11-20 17:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-20 17:16 UTC (permalink / raw)
To: Jiaxin Yu; +Cc: llvm, kbuild-all, linux-kernel, Mark Brown
[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a90af8f15bdc9449ee2d24e1d73fa3f7e8633f81
commit: 125ab5d588b0b3b842064c4d53a666ca74521ae8 ASoC: mediatek: mt8192: add platform driver
date: 1 year, 1 month ago
config: arm64-randconfig-r024-20211115 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project fbe72e41b99dc7994daac300d208a955be3e4a0a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=125ab5d588b0b3b842064c4d53a666ca74521ae8
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 125ab5d588b0b3b842064c4d53a666ca74521ae8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:70:5: warning: no previous prototype for function 'mt8192_get_memif_pbuf_size' [-Wmissing-prototypes]
int mt8192_get_memif_pbuf_size(struct snd_pcm_substream *substream)
^
sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int mt8192_get_memif_pbuf_size(struct snd_pcm_substream *substream)
^
static
>> sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused variable 'mt8192_afe_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops mt8192_afe_pm_ops = {
^
2 warnings generated.
vim +/mt8192_afe_pm_ops +2368 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c
2367
> 2368 static const struct dev_pm_ops mt8192_afe_pm_ops = {
2369 SET_RUNTIME_PM_OPS(mt8192_afe_runtime_suspend,
2370 mt8192_afe_runtime_resume, NULL)
2371 };
2372
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40671 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-20 17:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 17:16 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused variable 'mt8192_afe_pm_ops' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®