[PATCH 0/2] staging: usbip: refine the lock

2013-01-07 Thread Harvey Yang
This patchset refines some spinlocks which maybe not used properly. [PATCH 1/2]: The function 'usbip_event_add()' may be called in interrupt context on the stub side: 'stub_complete'-'stub_enqueue_ret_unlink'-'usbip_event_add'. In this function it tries to get the lock 'ud-lock', so we should

Re: [PATCH 0/2] staging: usbip: refine the lock

2013-01-07 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2013 at 01:49:00PM +0800, Harvey Yang wrote: This patchset refines some spinlocks which maybe not used properly. [PATCH 1/2]: The function 'usbip_event_add()' may be called in interrupt context on the stub side: 'stub_complete'-'stub_enqueue_ret_unlink'-'usbip_event_add'.