forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ipc code does not adhere the typical linux coding style. This patch fixes lots of simple whitespace errors. - mostly autogenerated by scripts/checkpatch.pl -f --fix \ --types=pointer_location,spacing,space_before_tab - one manual fixup (keep structure members tab-aligned) - removal of additional space_before_tab that were not found by --fix Tested with some of my msg and sem test apps. Andrew: Could you include it in -mm and move it towards Linus' tree? Signed-off-by: Manfred Spraul <[email protected]> Suggested-by: Li Bin <[email protected]> Cc: Joe Perches <[email protected]> Acked-by: Rafael Aquini <[email protected]> Cc: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
1 parent
72a8ff2
commit 239521f
Showing
11 changed files
with
115 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* | ||
* Spinlocks: Mohamed Abbas ([email protected]) | ||
* Lockless receive & send, fd based notify: | ||
* Manfred Spraul ([email protected]) | ||
* Manfred Spraul ([email protected]) | ||
* | ||
* Audit: George Wilson ([email protected]) | ||
* | ||
|
@@ -73,7 +73,7 @@ struct mqueue_inode_info { | |
struct mq_attr attr; | ||
|
||
struct sigevent notify; | ||
struct pid* notify_owner; | ||
struct pid *notify_owner; | ||
struct user_namespace *notify_user_ns; | ||
struct user_struct *user; /* user who created, for accounting */ | ||
struct sock *notify_sock; | ||
|
@@ -92,7 +92,7 @@ static void remove_notification(struct mqueue_inode_info *info); | |
|
||
static struct kmem_cache *mqueue_inode_cachep; | ||
|
||
static struct ctl_table_header * mq_sysctl_table; | ||
static struct ctl_table_header *mq_sysctl_table; | ||
|
||
static inline struct mqueue_inode_info *MQUEUE_I(struct inode *inode) | ||
{ | ||
|
@@ -466,13 +466,13 @@ static int mqueue_create(struct inode *dir, struct dentry *dentry, | |
|
||
static int mqueue_unlink(struct inode *dir, struct dentry *dentry) | ||
{ | ||
struct inode *inode = dentry->d_inode; | ||
struct inode *inode = dentry->d_inode; | ||
|
||
dir->i_ctime = dir->i_mtime = dir->i_atime = CURRENT_TIME; | ||
dir->i_size -= DIRENT_SIZE; | ||
drop_nlink(inode); | ||
dput(dentry); | ||
return 0; | ||
drop_nlink(inode); | ||
dput(dentry); | ||
return 0; | ||
} | ||
|
||
/* | ||
|
@@ -622,7 +622,7 @@ static struct ext_wait_queue *wq_get_first_waiter( | |
|
||
static inline void set_cookie(struct sk_buff *skb, char code) | ||
{ | ||
((char*)skb->data)[NOTIFY_COOKIE_LEN-1] = code; | ||
((char *)skb->data)[NOTIFY_COOKIE_LEN-1] = code; | ||
} | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.