lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: skein: Adds * on subsequent lines in block comment
On Sun, Sep 20, 2015 at 11:32:06AM -0500, Amber N. Adams wrote:
> This patch fixes the checkpatch.pl warning:
>
> WARNING: Block comments use * on subsequent lines
> +/*
> +Copyright (c) 2010 Werner Dittmann
>
> Signed-off-by: Amber N. Adams <amber@amberadams.co>
> ---
> drivers/staging/skein/skein_api.h | 48 +++++++++++++++++++--------------------
> 1 file changed, 24 insertions(+), 24 deletions(-)

Acked-by: Jason Cooper <jason@lakedaemon.net>

> diff --git a/drivers/staging/skein/skein_api.h b/drivers/staging/skein/skein_api.h
> index 7da8b38..4cf7003 100644
> --- a/drivers/staging/skein/skein_api.h
> +++ b/drivers/staging/skein/skein_api.h
> @@ -1,28 +1,28 @@
> -/*
> -Copyright (c) 2010 Werner Dittmann
> -
> -Permission is hereby granted, free of charge, to any person
> -obtaining a copy of this software and associated documentation
> -files (the "Software"), to deal in the Software without
> -restriction, including without limitation the rights to use,
> -copy, modify, merge, publish, distribute, sublicense, and/or sell
> -copies of the Software, and to permit persons to whom the
> -Software is furnished to do so, subject to the following
> -conditions:
> -
> -The above copyright notice and this permission notice shall be
> -included in all copies or substantial portions of the Software.
> -
> -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> -OTHER DEALINGS IN THE SOFTWARE.
> +/**

nit: the above should be /* instead of /**, but it's not worth a v2.
Thanks for the patch!

thx,

Jason.

> + * Copyright (c) 2010 Werner Dittmann
> + *
> + * Permission is hereby granted, free of charge, to any person
> + * obtaining a copy of this software and associated documentation
> + * files (the "Software"), to deal in the Software without
> + * restriction, including without limitation the rights to use,
> + * copy, modify, merge, publish, distribute, sublicense, and/or sell
> + * copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following
> + * conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> + * included in all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + * OTHER DEALINGS IN THE SOFTWARE.
>
> -*/
> + */
>
> #ifndef SKEINAPI_H
> #define SKEINAPI_H
> --
> 1.9.1
>


\
 
 \ /
  Last update: 2015-09-21 20:01    [W:2.246 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site