From: Manish Katiyar <mkatiyar@gmail.com>
To: mingo@elte.hu, LKML <linux-kernel@vger.kernel.org>,
kernel-janitors@vger.kernel.org
Cc: mkatiyar@gmail.com
Subject: [PATCH] Remove errors caught by checkpatch.pl in kernel/utsname_sysctl.c
Date: Mon, 16 Feb 2009 00:09:07 +0530 [thread overview]
Message-ID: <ea11fea30902151039n447cc111medb9721a95af81a8@mail.gmail.com> (raw)
Hi,
Below patch removes errors generated by checkpatch.pl in
kernel/utsname_sysctl.c. Caught by Ingo's code-quality script.
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
---
kernel/utsname_sysctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c
index 3b34b35..d1dc4ca 100644
--- a/kernel/utsname_sysctl.c
+++ b/kernel/utsname_sysctl.c
@@ -49,7 +49,7 @@ static int proc_do_uts_string(ctl_table *table, int
write, struct file *filp,
int r;
memcpy(&uts_table, table, sizeof(uts_table));
uts_table.data = get_uts(table, write);
- r = proc_dostring(&uts_table,write,filp,buffer,lenp, ppos);
+ r = proc_dostring(&uts_table, write, filp, buffer, lenp, ppos);
put_uts(table, write, uts_table.data);
return r;
}
@@ -142,4 +142,4 @@ static int __init utsname_sysctl_init(void)
return 0;
}
-__initcall(utsname_sysctl_init);
+device_initcall(utsname_sysctl_init);
--
1.5.4.3
Thanks -
Manish
next reply other threads:[~2009-02-15 18:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-15 18:39 Manish Katiyar [this message]
2009-02-16 13:09 ` Stefan Richter
2009-02-16 14:59 ` Manish Katiyar
2009-02-16 15:34 ` Stefan Richter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea11fea30902151039n447cc111medb9721a95af81a8@mail.gmail.com \
--to=mkatiyar@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®