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]
Message-Id: <1272318079.16810.44.camel@useless.americas.hpqcorp.net>
Date:	Mon, 26 Apr 2010 17:41:19 -0400
From:	Lee Schermerhorn <Lee.Schermerhorn@...com>
To:	Valdis.Kletnieks@...edu
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: mmotm 2010-04-22-16-38 uploaded

On Thu, 2010-04-22 at 21:57 -0400, Valdis.Kletnieks@...edu wrote:
> On Thu, 22 Apr 2010 16:38:55 PDT, akpm@...ux-foundation.org said:
> > The mm-of-the-moment snapshot 2010-04-22-16-38 has been uploaded to
> > 
> >    http://userweb.kernel.org/~akpm/mmotm/
> 
> Found this in numa-introduce-numa_mem_id-effective-local-memory-node-id.patch:
> 
> +#ifndef cpu_to_mem
> +#define cpu_to_mem(cpu)                (void)(cpu),0)
> +#endif
> 
> The resulting paren mismatch causes an error cascade in 2 other patches:
> 
> numa-in-kernel-profiling-use-cpu_to_mem-for-per-cpu-allocations.patch
> 
> causes build errors:

Thanks, Valdis.  I encountered this error and thought I fixed it before
submitting the series.  Apparently I submitted a stale patch.

Attached patch fixes the problem.

Lee


========================================
Fix to numa-introduce-numa_mem_id-effective-local-memory-node-id.patch
in mmotm 100422-1638

Add missing parenthesis to !NUMA stub cpu_to_mem() definition

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@...com>

 include/asm-generic/topology.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.34-rc5-mmotm-100422-1638/include/asm-generic/topology.h
===================================================================
--- linux-2.6.34-rc5-mmotm-100422-1638.orig/include/asm-generic/topology.h
+++ linux-2.6.34-rc5-mmotm-100422-1638/include/asm-generic/topology.h
@@ -35,7 +35,7 @@
 #define cpu_to_node(cpu)	((void)(cpu),0)
 #endif
 #ifndef cpu_to_mem
-#define cpu_to_mem(cpu)		(void)(cpu),0)
+#define cpu_to_mem(cpu)		((void)(cpu),0)
 #endif
 #ifndef parent_node
 #define parent_node(node)	((void)(node),0)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ