RE: [PATCH 9/10] IB/qib: use safer test on the result of find_first_zero_bit

From: Julia Lawall
Date: Wed Jun 04 2014 - 15:19:24 EST


On Wed, 4 Jun 2014, Marciniszyn, Mike wrote:

> > Subject: [PATCH 9/10] IB/qib: use safer test on the result of find_first_zero_bit
> >
> > From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> Thanks for the patch!
>
> Roland, I'm marking this as stable since a memory corruption can occur in the _set_bit().

No, it's not necessary. It turns out that the result cannot be greater
than the requested maximum value.

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/