lkml.org 
[lkml]   [2021]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1] kernel/params.c: remove leading spaces before tabs
Date
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@huawei.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

\
 
 \ /
  Last update: 2021-06-08 10:25    [W:0.092 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site