RE: [PATCH] fix for-loop in sn_hwperf_geoid_to_cnode()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Dean Roe" <roe@xxxxxxx>
- Subject: RE: [PATCH] fix for-loop in sn_hwperf_geoid_to_cnode()
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Fri, 3 Mar 2006 09:01:57 -0800
- Cc: <linux-ia64@xxxxxxxxxxxxxxx>
- Thread-index: AcY+1BRmLNsryk1DTCCbj3lx1DpLuwAD9jZw
- Thread-topic: [PATCH] fix for-loop in sn_hwperf_geoid_to_cnode()
- for_each_node(cnode) {
+ for (cnode = 0; cnode < num_cnodes; cnode++) {
Do we really need to fix "for_each_node()" ... having a macro
named this way that doesn't actually loop over all nodes looks
like an invitation to get things wrong in the future.
-Tony
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]