aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-04-22 12:23:49 -0400
committerKees Cook <keescook@chromium.org>2018-04-24 22:50:06 -0400
commit3413e1891d443b9e936b4b6fb0ba4cdc38ff71b6 (patch)
tree5a2f899492439d1e758a0f4fb4a34ae54d69300d
parentcc4b86e496beb6f3f499e1be260f51b4026aba84 (diff)
rslib: Cleanup top level comments
File references and stale CVS ids are really not useful. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Kees Cook <keescook@chromium.org> Cc: Segher Boessenkool <segher@kernel.crashing.org> Cc: Kernel Hardening <kernel-hardening@lists.openwall.com> Cc: Richard Weinberger <richard@nod.at> Cc: Mike Snitzer <snitzer@redhat.com> Cc: Anton Vorontsov <anton@enomsg.org> Cc: Colin Cross <ccross@android.com> Cc: Andrew Morton <akpm@linuxfoundation.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Alasdair Kergon <agk@redhat.com> Signed-off-by: Kees Cook <keescook@chromium.org>
-rw-r--r--include/linux/rslib.h7
-rw-r--r--lib/reed_solomon/decode_rs.c12
-rw-r--r--lib/reed_solomon/encode_rs.c13
-rw-r--r--lib/reed_solomon/reed_solomon.c9
4 files changed, 6 insertions, 35 deletions
diff --git a/include/linux/rslib.h b/include/linux/rslib.h
index d7bc66931032..a596abaf2e56 100644
--- a/include/linux/rslib.h
+++ b/include/linux/rslib.h
@@ -1,16 +1,11 @@
1/* 1/*
2 * include/linux/rslib.h 2 * Generic Reed Solomon encoder / decoder library
3 *
4 * Overview:
5 * Generic Reed Solomon encoder / decoder library
6 * 3 *
7 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de) 4 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de)
8 * 5 *
9 * RS code lifted from reed solomon library written by Phil Karn 6 * RS code lifted from reed solomon library written by Phil Karn
10 * Copyright 2002 Phil Karn, KA9Q 7 * Copyright 2002 Phil Karn, KA9Q
11 * 8 *
12 * $Id: rslib.h,v 1.4 2005/11/07 11:14:52 gleixner Exp $
13 *
14 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as 10 * it under the terms of the GNU General Public License version 2 as
16 * published by the Free Software Foundation. 11 * published by the Free Software Foundation.
diff --git a/lib/reed_solomon/decode_rs.c b/lib/reed_solomon/decode_rs.c
index 0ec3f257ffdf..c1ef9917bc85 100644
--- a/lib/reed_solomon/decode_rs.c
+++ b/lib/reed_solomon/decode_rs.c
@@ -1,20 +1,12 @@
1/* 1/*
2 * lib/reed_solomon/decode_rs.c 2 * Generic Reed Solomon encoder / decoder library
3 *
4 * Overview:
5 * Generic Reed Solomon encoder / decoder library
6 * 3 *
7 * Copyright 2002, Phil Karn, KA9Q 4 * Copyright 2002, Phil Karn, KA9Q
8 * May be used under the terms of the GNU General Public License (GPL) 5 * May be used under the terms of the GNU General Public License (GPL)
9 * 6 *
10 * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) 7 * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de)
11 * 8 *
12 * $Id: decode_rs.c,v 1.7 2005/11/07 11:14:59 gleixner Exp $ 9 * Generic data width independent code which is included by the wrappers.
13 *
14 */
15
16/* Generic data width independent code which is included by the
17 * wrappers.
18 */ 10 */
19{ 11{
20 int deg_lambda, el, deg_omega; 12 int deg_lambda, el, deg_omega;
diff --git a/lib/reed_solomon/encode_rs.c b/lib/reed_solomon/encode_rs.c
index 0b5b1a6728ec..edb1ba059c16 100644
--- a/lib/reed_solomon/encode_rs.c
+++ b/lib/reed_solomon/encode_rs.c
@@ -1,21 +1,12 @@
1/* 1/*
2 * lib/reed_solomon/encode_rs.c 2 * Generic Reed Solomon encoder / decoder library
3 *
4 * Overview:
5 * Generic Reed Solomon encoder / decoder library
6 * 3 *
7 * Copyright 2002, Phil Karn, KA9Q 4 * Copyright 2002, Phil Karn, KA9Q
8 * May be used under the terms of the GNU General Public License (GPL) 5 * May be used under the terms of the GNU General Public License (GPL)
9 * 6 *
10 * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) 7 * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de)
11 * 8 *
12 * $Id: encode_rs.c,v 1.5 2005/11/07 11:14:59 gleixner Exp $ 9 * Generic data width independent code which is included by the wrappers.
13 *
14 */
15
16/* Generic data width independent code which is included by the
17 * wrappers.
18 * int encode_rsX (struct rs_control *rs, uintX_t *data, int len, uintY_t *par)
19 */ 10 */
20{ 11{
21 int i, j, pad; 12 int i, j, pad;
diff --git a/lib/reed_solomon/reed_solomon.c b/lib/reed_solomon/reed_solomon.c
index 1ea750f8fa55..880fcdaf3346 100644
--- a/lib/reed_solomon/reed_solomon.c
+++ b/lib/reed_solomon/reed_solomon.c
@@ -1,16 +1,11 @@
1/* 1/*
2 * lib/reed_solomon/reed_solomon.c 2 * Generic Reed Solomon encoder / decoder library
3 *
4 * Overview:
5 * Generic Reed Solomon encoder / decoder library
6 * 3 *
7 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de) 4 * Copyright (C) 2004 Thomas Gleixner (tglx@linutronix.de)
8 * 5 *
9 * Reed Solomon code lifted from reed solomon library written by Phil Karn 6 * Reed Solomon code lifted from reed solomon library written by Phil Karn
10 * Copyright 2002 Phil Karn, KA9Q 7 * Copyright 2002 Phil Karn, KA9Q
11 * 8 *
12 * $Id: rslib.c,v 1.7 2005/11/07 11:14:59 gleixner Exp $
13 *
14 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as 10 * it under the terms of the GNU General Public License version 2 as
16 * published by the Free Software Foundation. 11 * published by the Free Software Foundation.
@@ -35,9 +30,7 @@
35 * second stage, which does the decoding / error correction itself. 30 * second stage, which does the decoding / error correction itself.
36 * Many hw encoders provide a syndrome calculation over the received 31 * Many hw encoders provide a syndrome calculation over the received
37 * data + syndrome and can call the second stage directly. 32 * data + syndrome and can call the second stage directly.
38 *
39 */ 33 */
40
41#include <linux/errno.h> 34#include <linux/errno.h>
42#include <linux/kernel.h> 35#include <linux/kernel.h>
43#include <linux/init.h> 36#include <linux/init.h>