lkml.org 
[lkml]   [2008]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] cpumask: use for_each_online_cpu() in drivers/infiniband/hw/ehca/ehca_irq.c
From
Date
> Impact: cleanup
>
> In future, accessing cpu numbers beyond nr_cpu_ids (the runtime limit)
> will be undefined. We can avoid future problems by using
> for_each_online_cpu() here.
>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>

Tested with latest kernel. Thanks for this!
Nam



\
 
 \ /
  Last update: 2008-11-25 14:01    [W:0.090 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site