lkml.org 
[lkml]   [1997]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: incompatibility due to change in bitops.h
> It uses set_bit from <asm/bitops.h> and uses the result value.
>
> Kernel 2.1.37 changed the definition of set_bit to return void rather than int.
>
> This breaks 3c59x.c :-(
>
> Please advise how to handle this. Does the new code really not return a value?
> Note that the comment:

There are now two functions:
int test_and_set_bit
void set_bit

Probably changing set_bit to test_and_set_bit is the right thing to do.
___
Trevor Johnson


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.026 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site