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>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 22 Jun 2023 12:10:26 +0800
From:   kernel test robot <lkp@...el.com>
To:     Besar Wicaksono <bwicaksono@...dia.com>, suzuki.poulose@....com,
        robin.murphy@....com, ilkka@...amperecomputing.com,
        catalin.marinas@....com, will@...nel.org, mark.rutland@....com
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-tegra@...r.kernel.org, treding@...dia.com,
        jonathanh@...dia.com, vsethi@...dia.com, rwiley@...dia.com,
        efunsten@...dia.com, Besar Wicaksono <bwicaksono@...dia.com>
Subject: Re: [PATCH v4] perf: arm_cspmu: Separate Arm and vendor module

Hi Besar,

kernel test robot noticed the following build warnings:

[auto build test WARNING on ea8d1c062a0e876e999e4f347daeb598d5e677ab]

url:    https://github.com/intel-lab-lkp/linux/commits/Besar-Wicaksono/perf-arm_cspmu-Separate-Arm-and-vendor-module/20230620-121723
base:   ea8d1c062a0e876e999e4f347daeb598d5e677ab
patch link:    https://lore.kernel.org/r/20230620041438.32514-1-bwicaksono%40nvidia.com
patch subject: [PATCH v4] perf: arm_cspmu: Separate Arm and vendor module
config: arm64-randconfig-r011-20230621 (https://download.01.org/0day-ci/archive/20230622/202306221135.Z877Um2S-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230622/202306221135.Z877Um2S-lkp@intel.com/reproduce)

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
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306221135.Z877Um2S-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/perf/arm_cspmu/arm_cspmu.c:386:30: warning: no previous prototype for function 'arm_cspmu_impl_match_get' [-Wmissing-prototypes]
     386 | struct arm_cspmu_impl_match *arm_cspmu_impl_match_get(u32 pmiidr)
         |                              ^
   drivers/perf/arm_cspmu/arm_cspmu.c:386:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     386 | struct arm_cspmu_impl_match *arm_cspmu_impl_match_get(u32 pmiidr)
         | ^
         | static 
   1 warning generated.


vim +/arm_cspmu_impl_match_get +386 drivers/perf/arm_cspmu/arm_cspmu.c

   385	
 > 386	struct arm_cspmu_impl_match *arm_cspmu_impl_match_get(u32 pmiidr)
   387	{
   388		struct arm_cspmu_impl_match *match = impl_match;
   389	
   390		for (; match->pmiidr_val; match++) {
   391			u32 mask = match->pmiidr_mask;
   392	
   393			if ((match->pmiidr_val & mask) == (pmiidr & mask))
   394				break;
   395		}
   396	
   397		return match;
   398	}
   399	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ