[v2] aha152x cmnd->device oops
Juergen E. Fischer <fischer@linux-buechse.de> On Wed, Oct 29, 2003 at 12:10:17 -0600, James Bottomley wrote: > On Wed, 2003-10-29 at 11:56, Juergen E. Fischer wrote: > > Why not? It's a new command after all and if the initialization is > > done correctly (ie. ->device is setup) it works the way it is now. > > The usual reason is that ACA emulation is turned around in interrupt > context, so new memory allocations should be avoided if they can be. ok, attached patch does it that way and also fixes two other problems I noticed: 1. unloading the module with two controllers present didn't work, 2. there was a race in is_complete.
Showing
This diff is collapsed.
Please register or sign in to comment