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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 19 Jun 2017 14:03:42 +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.irq 28/46] kernel/irq/proc.c:329: warning: unused variable
 'irqp'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.irq
head:   989f773f2a8a820efdb7895775a78f445ef7bd87
commit: fc6228af67f07a91af910029f8f49a3967e080ff [28/46] genirq/proc: Replace ever repeating type cast
config: x86_64-randconfig-a0-06191213 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout fc6228af67f07a91af910029f8f49a3967e080ff
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   kernel/irq/proc.c: In function 'register_irq_proc':
>> kernel/irq/proc.c:329: warning: unused variable 'irqp'

vim +/irqp +329 kernel/irq/proc.c

   313						!name_unique(irq, action))
   314			return;
   315	
   316		snprintf(name, MAX_NAMELEN, "%s", action->name);
   317	
   318		/* create /proc/irq/1234/handler/ */
   319		action->dir = proc_mkdir(name, desc->dir);
   320	}
   321	
   322	#undef MAX_NAMELEN
   323	
   324	#define MAX_NAMELEN 10
   325	
   326	void register_irq_proc(unsigned int irq, struct irq_desc *desc)
   327	{
   328		static DEFINE_MUTEX(register_lock);
 > 329		void *irqp = (void *)(unsigned long) irq;
   330		char name [MAX_NAMELEN];
   331	
   332		if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip))
   333			return;
   334	
   335		/*
   336		 * irq directories are registered only when a handler is
   337		 * added, not when the descriptor is created, so multiple

---
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" (27972 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ