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:   Thu, 13 Apr 2017 03:06:14 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.sched/cpusallowed 8/13]
 drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/cpusallowed
head:   4ba98c7ec4094a9123d0d6aabb4497290207b518
commit: ae5a5156bd2764e6a06d2cf35d1c8222bf990034 [8/13] ACPI/processor: Use work_on_cpu()
config: x86_64-randconfig-s2-04130121 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout ae5a5156bd2764e6a06d2cf35d1c8222bf990034
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers//acpi/processor_throttling.c: In function 'acpi_processor_get_throttling':
>> drivers//acpi/processor_throttling.c:913: warning: unused variable 'ret'

vim +/ret +913 drivers//acpi/processor_throttling.c

   897			}
   898			pr->throttling.state = state;
   899		}
   900	
   901		return 0;
   902	}
   903	
   904	static long __acpi_processor_get_throttling(void *data)
   905	{
   906		struct acpi_processor *pr = data;
   907	
   908		return pr->throttling.acpi_processor_get_throttling(pr);
   909	}
   910	
   911	static int acpi_processor_get_throttling(struct acpi_processor *pr)
   912	{
 > 913		long ret;
   914	
   915		if (!pr)
   916			return -EINVAL;
   917	
   918		if (!pr->flags.throttling)
   919			return -ENODEV;
   920	
   921		/*

---
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/gzip" (30649 bytes)

Powered by blists - more mailing lists