Re: [PATCH 3/10] video: use safer test on the result of find_first_zero_bit

From
Julia Lawall <hidden>
Date
2014-06-23 14:12:47
Also in
kernel-janitors, lkml
Reply to
Tomi Valkeinen, 2014-06-23
On Mon, 23 Jun 2014, Tomi Valkeinen wrote:
On 04/06/14 12:07, Julia Lawall wrote:
quoted
From: Julia Lawall <redacted>

Find_first_zero_bit considers BITS_PER_LONG bits at a time, and thus may
return a larger number than the maximum position argument if that position
is not a multiple of BITS_PER_LONG.
Thanks, queued for 3.17.
No, sorry you can drop it.  It doesn't hurt anything, but it is not
necessary either.  Returning a larger number is actually not possible.

julia
Thread (14 messages) 14 messages, 4 authors, last reply 2014-06-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help