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]
Date:   Mon, 1 Aug 2022 00:22:05 +0800
From:   kernel test robot <lkp@...el.com>
To:     Martin PoviĊĦer <povik+lin@...ebit.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Hector Martin <marcan@...can.st>
Subject: [asahilinux:bits/070-audio 11/15] sound/soc/apple/macaudio.c:290:3:
 sparse: sparse: symbol 'macaudio_fixed_kctls' was not declared. Should it be
 static?

tree:   https://github.com/AsahiLinux/linux bits/070-audio
head:   f284fb1969531d5bcbc85cdaba483d954aafbb1f
commit: 45d56de6798e69a32c1e7b529e7849fc74ed3e66 [11/15] ASoC: Add macaudio machine driver
config: arm64-randconfig-s043-20220721 (https://download.01.org/0day-ci/archive/20220801/202208010056.ESwV1wcB-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://github.com/AsahiLinux/linux/commit/45d56de6798e69a32c1e7b529e7849fc74ed3e66
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux bits/070-audio
        git checkout 45d56de6798e69a32c1e7b529e7849fc74ed3e66
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash sound/soc/apple/

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

sparse warnings: (new ones prefixed by >>)
>> sound/soc/apple/macaudio.c:290:3: sparse: sparse: symbol 'macaudio_fixed_kctls' was not declared. Should it be static?

vim +/macaudio_fixed_kctls +290 sound/soc/apple/macaudio.c

   286	
   287	struct fixed_kctl {
   288		char *name;
   289		char *value;	
 > 290	} macaudio_fixed_kctls[] = {
   291		{"ASI1 Sel", "Left"},
   292		{"Left ASI1 Sel", "Left"},
   293		{"Right ASI1 Sel", "Left"},
   294		{"Left Front ASI1 Sel", "Left"},
   295		{"Left Rear ASI1 Sel", "Left"},
   296		{"Right Front ASI1 Sel", "Left"},
   297		{"Right Rear ASI1 Sel", "Left"},
   298		{"Left Tweeter ASI1 Sel", "Left"},
   299		{"Left Woofer 1 ASI1 Sel", "Left"},
   300		{"Left Woofer 2 ASI1 Sel", "Left"},
   301		{"Right Tweeter ASI1 Sel", "Left"},
   302		{"Right Woofer 1 ASI1 Sel", "Left"},
   303		{"Right Woofer 2 ASI1 Sel", "Left"},
   304		{"Left ISENSE Switch", "Off"},
   305		{"Left VSENSE Switch", "Off"},
   306		{"Right ISENSE Switch", "Off"},
   307		{"Right VSENSE Switch", "Off"},
   308		{"Jack Mixer Volume", "63"},
   309		{ }
   310	};
   311	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ