Messages in this thread | | | Date | Wed, 28 May 1997 03:50:44 +0000 (Local time zone must be set--see zic manual page) | From | Trevor Johnson <> | Subject | Re: 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
| |