lkml.org 
[lkml]   [2018]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 11/15] staging: fbtft: Includes description to mutex and spinlock - Style
On Tue, Aug 07, 2018 at 09:29:31PM -0300, Leonardo Brás wrote:
> Includes description to mutex and spinlocks, as recommended by checkpatch.pl.
>
> Signed-off-by: Leonardo Brás <leobras.c@gmail.com>
> ---
> drivers/staging/fbtft/fbtft.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
> index 6ee9ff320567..f771271d497a 100644
> --- a/drivers/staging/fbtft/fbtft.h
> +++ b/drivers/staging/fbtft/fbtft.h
> @@ -203,7 +203,7 @@ struct fbtft_par {
> u8 *buf;
> u8 startbyte;
> struct fbtft_ops fbtftops;
> - spinlock_t dirty_lock;
> + spinlock_t dirty_lock; /*Protects dirty_lines_{start,end}*/

Why no spaces in your comment?

thanks,

greg k-h

\
 
 \ /
  Last update: 2018-08-08 14:23    [W:0.099 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site