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

From
Tomi Valkeinen <hidden>
Date
2014-06-24 07:56:22
Also in
kernel-janitors, lkml
Reply to
Julia Lawall, 2014-06-23
On 23/06/14 17:12, Julia Lawall wrote:
On Mon, 23 Jun 2014, Tomi Valkeinen wrote:
quoted
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.
Ok, dropped.

 Tomi

Attachments

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