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

From: Greg KH
Date: Wed Jun 21 2017 - 10:35:35 EST


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