* [PATCH 1/1] kernel/params.c: remove leading spaces before tabs
@ 2021-06-08 8:24 Zhen Lei
0 siblings, 0 replies; only message in thread
From: Zhen Lei @ 2021-06-08 8:24 UTC (permalink / raw)
To: Jessica Yu, Christian König, James Morris,
Greg Kroah-Hartman, linux-kernel
Cc: Zhen Lei
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-08 8:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 8:24 [PATCH 1/1] kernel/params.c: remove leading spaces before tabs Zhen Lei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).