[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210608071117.12634-6-thunder.leizhen@huawei.com>
Date: Tue, 8 Jun 2021 15:11:17 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH 5/5] lib: remove trailing spaces and tabs
Run the following command to find and remove the trailing spaces and tabs:
find lib/ -type f | xargs sed -r -i 's/[ \t]+$//'
Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
---
lib/Kconfig | 2 +-
lib/libcrc32c.c | 2 +-
lib/textsearch.c | 4 ++--
lib/ts_kmp.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index ac3b30697b2b..b0807d988491 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -357,7 +357,7 @@ config GENERIC_ALLOCATOR
#
config REED_SOLOMON
tristate
-
+
config REED_SOLOMON_ENC8
bool
diff --git a/lib/libcrc32c.c b/lib/libcrc32c.c
index 5ca0d815a95d..824415b757c2 100644
--- a/lib/libcrc32c.c
+++ b/lib/libcrc32c.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
-/*
+/*
* CRC32C
*@...icle{castagnoli-crc,
* author = { Guy Castagnoli and Stefan Braeuer and Martin Herrman},
diff --git a/lib/textsearch.c b/lib/textsearch.c
index f68dea8806be..d8dae46b75a5 100644
--- a/lib/textsearch.c
+++ b/lib/textsearch.c
@@ -266,7 +266,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
int err = -ENOENT;
struct ts_config *conf;
struct ts_ops *ops;
-
+
if (len == 0)
return ERR_PTR(-EINVAL);
@@ -298,7 +298,7 @@ struct ts_config *textsearch_prepare(const char *algo, const void *pattern,
errout:
if (ops)
module_put(ops->owner);
-
+
return ERR_PTR(err);
}
EXPORT_SYMBOL(textsearch_prepare);
diff --git a/lib/ts_kmp.c b/lib/ts_kmp.c
index c77a3d537f24..c57511d5fc7a 100644
--- a/lib/ts_kmp.c
+++ b/lib/ts_kmp.c
@@ -5,7 +5,7 @@
* Authors: Thomas Graf <tgraf@...g.ch>
*
* ==========================================================================
- *
+ *
* Implements a linear-time string-matching algorithm due to Knuth,
* Morris, and Pratt [1]. Their algorithm avoids the explicit
* computation of the transition function DELTA altogether. Its
--
2.25.1
Powered by blists - more mailing lists