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] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601211823.klhE1pab%fengguang.wu@intel.com>
Date:	Thu, 21 Jan 2016 18:20:15 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
Cc:	kbuild-all@...org, linuxppc-dev@...abs.org,
	linux-kernel@...r.kernel.org, rjw@...ysocki.net,
	viresh.kumar@...aro.org, linux-pm@...r.kernel.org, pc@...ibm.com,
	anton@...ba.org, ego@...ux.vnet.ibm.com,
	shreyas@...ux.vnet.ibm.com,
	Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
Subject: Re: [PATCH v5 1/5] cpufreq: powernv: Hot-plug safe the kworker thread

Hi Shilpasri,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.4 next-20160121]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: powerpc-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

Note: the linux-review/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402 HEAD 9aca97b0876d0d182772832e0447a9bf58a967f7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn':
>> drivers/cpufreq/powernv-cpufreq.c:428:2: error: implicit declaration of function 'get_online_cpus' [-Werror=implicit-function-declaration]
     get_online_cpus();
     ^
>> drivers/cpufreq/powernv-cpufreq.c:449:2: error: implicit declaration of function 'put_online_cpus' [-Werror=implicit-function-declaration]
     put_online_cpus();
     ^
   cc1: some warnings being treated as errors

vim +/get_online_cpus +428 drivers/cpufreq/powernv-cpufreq.c

   422	void powernv_cpufreq_work_fn(struct work_struct *work)
   423	{
   424		struct chip *chip = container_of(work, struct chip, throttle);
   425		unsigned int cpu;
   426		cpumask_t mask;
   427	
 > 428		get_online_cpus();
   429		cpumask_and(&mask, &chip->mask, cpu_online_mask);
   430		smp_call_function_any(&mask,
   431				      powernv_cpufreq_throttle_check, NULL, 0);
   432	
   433		if (!chip->restore)
   434			goto out;
   435	
   436		chip->restore = false;
   437		for_each_cpu(cpu, &mask) {
   438			int index;
   439			struct cpufreq_policy policy;
   440	
   441			cpufreq_get_policy(&policy, cpu);
   442			cpufreq_frequency_table_target(&policy, policy.freq_table,
   443						       policy.cur,
   444						       CPUFREQ_RELATION_C, &index);
   445			powernv_cpufreq_target_index(&policy, index);
   446			cpumask_andnot(&mask, &mask, policy.cpus);
   447		}
   448	out:
 > 449		put_online_cpus();
   450	}
   451	
   452	static char throttle_reason[][30] = {

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (47524 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ