Re: [PATCH] Drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function calls

2014-03-03 Thread Dan Carpenter
This patch introduces a bug. On Sat, Mar 01, 2014 at 06:59:20PM -0800, Surendra Patil wrote: > Replaced all the spin lock/unlock wrappers from oz_polling_lock_bh() > and oz_polllin_unlock_bh() with spin_lock_bh(&g_polling_lock) and > spin_unlock_bh(&g_polling_lock).Completely erased the wrappers d

[PATCH] Drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function calls

2014-03-01 Thread Surendra Patil
Replaced all the spin lock/unlock wrappers from oz_polling_lock_bh() and oz_polllin_unlock_bh() with spin_lock_bh(&g_polling_lock) and spin_unlock_bh(&g_polling_lock).Completely erased the wrappers defination and declaration. Module builded successfully with sparse without warnings. Signed-off-by: