[PATCH] powerpc/xive: fix the fuzz value in xive_pick_irq_target()

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Aug 3 21:52:06 AEST 2017


On Thu, 2017-08-03 at 19:52 +1000, Michael Ellerman wrote:
> What if num is 0?
> 
> Which it would be in the fallback case, if the affinity mask is empty,
> AFAICS.

How can the mask be empty though ? But yes, as I noted there is a
problem if the value is 0. Not sure what to do if we are given an empty
mask though.

Ben.



More information about the Linuxppc-dev mailing list