mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-29 18:43:59 +00:00
ipc, kernel: clear whitespace
trailing whitespace Signed-off-by: Paul McQuade <paulmcquad@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7153e40273
commit
46c0a8ca3e
6 changed files with 29 additions and 30 deletions
|
@ -611,8 +611,7 @@ SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf)
|
||||||
|
|
||||||
static int testmsg(struct msg_msg *msg, long type, int mode)
|
static int testmsg(struct msg_msg *msg, long type, int mode)
|
||||||
{
|
{
|
||||||
switch (mode)
|
switch (mode) {
|
||||||
{
|
|
||||||
case SEARCH_ANY:
|
case SEARCH_ANY:
|
||||||
case SEARCH_NUMBER:
|
case SEARCH_NUMBER:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -262,7 +262,7 @@ SYSCALL_DEFINE1(acct, const char __user *, name)
|
||||||
if (name) {
|
if (name) {
|
||||||
struct filename *tmp = getname(name);
|
struct filename *tmp = getname(name);
|
||||||
if (IS_ERR(tmp))
|
if (IS_ERR(tmp))
|
||||||
return (PTR_ERR(tmp));
|
return PTR_ERR(tmp);
|
||||||
error = acct_on(tmp);
|
error = acct_on(tmp);
|
||||||
putname(tmp);
|
putname(tmp);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue