[Drbd-dev] [PATCH 02/17] lru_cache: fix licence comment format

Tobin C. Harding me at tobin.cc
Mon Oct 2 00:34:01 CEST 2017


checkpatch emits WARNING: Block comments use * on subsequent lines

Add '*' to each subsequent line of licence comment.

Signed-off-by: Tobin C. Harding <me at tobin.cc>
---
 lib/lru_cache.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 44d7ab0..273af4b 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -1,21 +1,21 @@
 /*
-   lru_cache.c
-
-   This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
-
-   Copyright (C) 2003-2008, LINBIT Information Technologies GmbH.
-   Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner at linbit.com>.
-   Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg at linbit.com>.
-
-   drbd is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
-   any later version.
-
-   drbd is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+ *   lru_cache.c
+ *
+ *   This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
+ *
+ *   Copyright (C) 2003-2008, LINBIT Information Technologies GmbH.
+ *   Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner at linbit.com>.
+ *   Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg at linbit.com>.
+ *
+ *   drbd is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published by
+ *   the Free Software Foundation; either version 2, or (at your option)
+ *   any later version.
+ *
+ *   drbd is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
  */
 
 #include <linux/module.h>
-- 
2.7.4



More information about the drbd-dev mailing list