[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210608082415.13641-1-thunder.leizhen@huawei.com>
Date: Tue, 8 Jun 2021 16:24:15 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Jessica Yu <jeyu@...nel.org>,
Christian König <christian.koenig@....com>,
James Morris <jmorris@...ei.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH 1/1] kernel/params.c: remove leading spaces before tabs
1) Run the following command to find and remove the leading spaces before
tabs:
sed -r -i 's/^[ ]+\t/\t/' kernel/params.c
2) Manually check and correct if necessary
Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
---
kernel/params.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/params.c b/kernel/params.c
index 2daa2780a92c..ceaf06788068 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -556,7 +556,7 @@ static ssize_t param_attr_store(struct module_attribute *mattr,
struct module_kobject *mk,
const char *buf, size_t len)
{
- int err;
+ int err;
struct param_attribute *attribute = to_param_attr(mattr);
if (!attribute->param->ops->set)
--
2.25.1
Powered by blists - more mailing lists