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:	Sat, 03 Jan 2009 11:36:13 -0500
From:	Valdis.Kletnieks@...edu
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Rusty Russell <rusty@...tcorp.com.au>
Cc:	linux-kernel@...r.kernel.org
Subject: 2.6.28-mmotm1230 kernel/workqueue.c compiler warning message

In mmotm1230, there was an apparent mismerge that left a spare '&' on
a variable, causing this compiler warning:

kernel/workqueue.c: In function 'wq_cpu_map':
kernel/workqueue.c:94: warning: pointer type mismatch in conditional expression

so let's fix that up.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@...edu>

--- linux-2.6.28-mmotm1230/kernel/workqueue.c.dist	2009-01-01 17:23:21.000000000 -0500
+++ linux-2.6.28-mmotm1230/kernel/workqueue.c	2009-01-03 05:30:59.000000000 -0500
@@ -91,7 +91,7 @@ static inline int is_wq_single_threaded(
 static const struct cpumask *wq_cpu_map(struct workqueue_struct *wq)
 {
 	return is_wq_single_threaded(wq)
-		 ? get_cpu_mask(singlethread_cpu) : &cpu_populated_map;
+		 ? get_cpu_mask(singlethread_cpu) : cpu_populated_map;
 }
 
 static


Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ