On 27.09.2022 18:08, Jan Beulich wrote: > On 27.09.2022 17:53, Roger Pau Monné wrote: >> On Tue, Sep 27, 2022 at 04:15:19PM +0200, Jan Beulich wrote: >>> @@ -127,7 +128,7 @@ static int __init extract_lsb_from_nodes >>> if ( spdx >= epdx ) >>> continue; >>> bitfield |= spdx; >>> - nodes_used++; >>> + nodes_used += i == 0 || !nodeids || nodeids[i - 1] != nodeids[i]; >> >> I think I would also prefer the `if ( ... ) nodes_used++;` form, as >> it's clearer. > > Okay, will switch then. This isn't for 4.17 anyway (I think), so > there's no rush.
Actually I'm not so sure anymore as to 4.17 - we're in feature freeze until the end of the week, not in code freeze. So I guess this (and the other two related patches, provided they would get acked) ought to still be eligible. I guess I'll give it a day for objections to surface, but otherwise commit v2 perhaps during the afternoon tomorrow. Jan
