[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170621143508.GB14790@kroah.com>
Date: Wed, 21 Jun 2017 22:35:08 +0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Dhananjay Balan <mail@...lan.in>
Cc: sudipm.mukherjee@...il.com, teddy.wang@...iconmotion.com,
linux-fbdev@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: sm750fb: move common locking code to a macro
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
Powered by blists - more mailing lists