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

Dan Carpenter dan.carpenter at oracle.com
Tue Mar 4 09:13:22 UTC 2014


On Mon, Mar 03, 2014 at 11:57:47PM -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 defination
> and declaration.
> * declared g_polling_lock as global variable in header file and added comments to it.
> Module builded successfully with sparse without warnings.
> 
> Signed-off-by: Surendra Patil <surendra.tux at gmail.com>

Looks good, thanks.

regards,
dan carpenter



More information about the devel mailing list