Commit 46c0a8ca authored by Paul McQuade's avatar Paul McQuade Committed by Linus Torvalds

ipc, kernel: clear whitespace

trailing whitespace
Signed-off-by: default avatarPaul McQuade <paulmcquad@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7153e402
...@@ -611,8 +611,7 @@ SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) ...@@ -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;
......
...@@ -78,9 +78,9 @@ struct ipc_params { ...@@ -78,9 +78,9 @@ struct ipc_params {
* . routine to call for an extra check if needed * . routine to call for an extra check if needed
*/ */
struct ipc_ops { struct ipc_ops {
int (*getnew) (struct ipc_namespace *, struct ipc_params *); int (*getnew)(struct ipc_namespace *, struct ipc_params *);
int (*associate) (struct kern_ipc_perm *, int); int (*associate)(struct kern_ipc_perm *, int);
int (*more_checks) (struct kern_ipc_perm *, struct ipc_params *); int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *);
}; };
struct seq_file; struct seq_file;
...@@ -142,7 +142,7 @@ struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns, ...@@ -142,7 +142,7 @@ struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns,
struct ipc64_perm *perm, int extra_perm); struct ipc64_perm *perm, int extra_perm);
#ifndef CONFIG_ARCH_WANT_IPC_PARSE_VERSION #ifndef CONFIG_ARCH_WANT_IPC_PARSE_VERSION
/* On IA-64, we always use the "64-bit version" of the IPC structures. */ /* On IA-64, we always use the "64-bit version" of the IPC structures. */
# define ipc_parse_version(cmd) IPC_64 # define ipc_parse_version(cmd) IPC_64
#else #else
int ipc_parse_version(int *cmd); int ipc_parse_version(int *cmd);
......
...@@ -134,7 +134,7 @@ static int check_free_space(struct bsd_acct_struct *acct, struct file *file) ...@@ -134,7 +134,7 @@ static int check_free_space(struct bsd_acct_struct *acct, struct file *file)
spin_lock(&acct_lock); spin_lock(&acct_lock);
if (file != acct->file) { if (file != acct->file) {
if (act) if (act)
res = act>0; res = act > 0;
goto out; goto out;
} }
...@@ -262,7 +262,7 @@ SYSCALL_DEFINE1(acct, const char __user *, name) ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment