| ★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0520.html | Nouvelle recherche | Portail wanayoo |
|
Willem Riede (wriede@monmouth.com) Sat May 31 22:25:00 1997 |
[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links] |
|
> I was trying to upgrade to 2.1.40 (from 2.1.32) and ran into trouble > compiling the ethernet boomerang driver 3c59x.c: > ("3c900.c:v0.39 4/1/97 becker@cesdis.gsfc.nasa.gov\n") > > It uses set_bit fromand uses the result value. > > Kernel 2.1.37 changed the definition of set_bit to return void rather than int. > > This breaks 3c59x.c :-( > I received the advice to substitute set_bit by test_and_set_bit. That leads to the attached patch, and it seems to work fine so far.