[PATCH] staging: sm750fb: move common locking code to a macro

Greg KH gregkh at linuxfoundation.org
Wed Jun 21 14:35:08 UTC 2017


On Tue, Jun 20, 2017 at 06:50:13PM +0200, Dhananjay Balan wrote:
> The locking and unlocking code used by copy routines is common, so
> moved it to a macro.

Ick, no, never "hide" locks like this, that's not good at all.  We want
to see the locks in the code where it happens, otherwise it is not
obvious as to what is going on.

sorry,

greg k-h


More information about the devel mailing list