Fix assertions in bitops.c.

Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-10-22 07:43:56 +01:00
1 parent db65a8e335
commit c6d83ccc90
1 file changed
+2 -2
+2 -2
View File
@@ -29,7 +29,7 @@ unsigned int __find_next_bit(
const unsigned long *p = addr + (offset / BITS_PER_LONG);
unsigned int set, bit = offset & (BITS_PER_LONG - 1);
ASSERT(offset < size);
ASSERT(offset <= size);
if ( bit != 0 )
{
@@ -78,7 +78,7 @@ unsigned int __find_next_zero_bit(
const unsigned long *p = addr + (offset / BITS_PER_LONG);
unsigned int set, bit = offset & (BITS_PER_LONG - 1);
ASSERT(offset < size);
ASSERT(offset <= size);
if ( bit != 0 )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.