Re: [for-5.0 4/4] spapr: Simplify ovec diff

2019-12-01 Thread Cédric Le Goater
On 29/11/2019 06:33, David Gibson wrote: > spapr_ovec_diff(ov, old, new) has somewhat complex semantics. ov is set > to those bits which are in new but not old, and it returns as a boolean > whether or not there are any bits in old but not new. > > It turns out that both callers only care about t

[for-5.0 4/4] spapr: Simplify ovec diff

2019-11-28 Thread David Gibson
spapr_ovec_diff(ov, old, new) has somewhat complex semantics. ov is set to those bits which are in new but not old, and it returns as a boolean whether or not there are any bits in old but not new. It turns out that both callers only care about the second, not the first. This is basically equival