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: <202210180357.bhMQmfUP-lkp@intel.com>
Date:   Tue, 18 Oct 2022 03:52:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Martin PoviĊĦer <povik@...tonmail.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Hector Martin <marcan@...can.st>
Subject: [asahilinux:bits/070-audio 46/47] sound/soc/codecs/cs42l84.c:57:33:
 warning: 'cs42l84_reg_defaults' defined but not used

tree:   https://github.com/AsahiLinux/linux bits/070-audio
head:   82616e38df8f451aee5113a11de380e620c53035
commit: c51c357b5c5dbbddf9c5a9da33480998f74845a0 [46/47] ASoC: cs42l84: Enable regcache (initially)
config: x86_64-allyesconfig
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/AsahiLinux/linux/commit/c51c357b5c5dbbddf9c5a9da33480998f74845a0
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux bits/070-audio
        git checkout c51c357b5c5dbbddf9c5a9da33480998f74845a0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/codecs/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   sound/soc/codecs/cs42l84.c:60:6: warning: no previous prototype for 'cs42l84_volatile_register' [-Wmissing-prototypes]
      60 | bool cs42l84_volatile_register(struct device *dev, unsigned int reg)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/cs42l84.c: In function 'cs42l84_pll_config':
   sound/soc/codecs/cs42l84.c:404:17: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
     404 |                 FIELD_PREP(CS42L84_ASP_FSYNC_CTL2_BCLK_PERIOD_LO, fsync & 0x7f));
         |                 ^~~~~~~~~~
   At top level:
>> sound/soc/codecs/cs42l84.c:57:33: warning: 'cs42l84_reg_defaults' defined but not used [-Wunused-const-variable=]
      57 | static const struct reg_default cs42l84_reg_defaults[] = {
         |                                 ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/cs42l84_reg_defaults +57 sound/soc/codecs/cs42l84.c

    56	
  > 57	static const struct reg_default cs42l84_reg_defaults[] = {
    58	};
    59	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (291924 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ