lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111210105.IEGJcm57-lkp@intel.com>
Date:   Sun, 21 Nov 2021 01:16:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jiaxin Yu <jiaxin.yu@...iatek.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused
 variable 'mt8192_afe_pm_ops'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (40671 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ