diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2014-01-27 20:07:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 00:02:39 -0500 |
commit | 239521f31d7496a5322ee664ed8bbd1027b98c4b (patch) | |
tree | b340031d42d28ebe22edf55a6cf3a6ea0e2c0d99 /ipc/ipc_sysctl.c | |
parent | 72a8ff2f9245128c254387c58f948f1f0152ea46 (diff) |
ipc: whitespace cleanup
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 <manfred@colorfullife.com>
Suggested-by: Li Bin <huawei.libin@huawei.com>
Cc: Joe Perches <joe@perches.com>
Acked-by: Rafael Aquini <aquini@redhat.com>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/ipc_sysctl.c')
-rw-r--r-- | ipc/ipc_sysctl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index b0e99deb6d05..17028648cfeb 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c | |||
@@ -164,21 +164,21 @@ static struct ctl_table ipc_kern_table[] = { | |||
164 | { | 164 | { |
165 | .procname = "shmmax", | 165 | .procname = "shmmax", |
166 | .data = &init_ipc_ns.shm_ctlmax, | 166 | .data = &init_ipc_ns.shm_ctlmax, |
167 | .maxlen = sizeof (init_ipc_ns.shm_ctlmax), | 167 | .maxlen = sizeof(init_ipc_ns.shm_ctlmax), |
168 | .mode = 0644, | 168 | .mode = 0644, |
169 | .proc_handler = proc_ipc_doulongvec_minmax, | 169 | .proc_handler = proc_ipc_doulongvec_minmax, |
170 | }, | 170 | }, |
171 | { | 171 | { |
172 | .procname = "shmall", | 172 | .procname = "shmall", |
173 | .data = &init_ipc_ns.shm_ctlall, | 173 | .data = &init_ipc_ns.shm_ctlall, |
174 | .maxlen = sizeof (init_ipc_ns.shm_ctlall), | 174 | .maxlen = sizeof(init_ipc_ns.shm_ctlall), |
175 | .mode = 0644, | 175 | .mode = 0644, |
176 | .proc_handler = proc_ipc_doulongvec_minmax, | 176 | .proc_handler = proc_ipc_doulongvec_minmax, |
177 | }, | 177 | }, |
178 | { | 178 | { |
179 | .procname = "shmmni", | 179 | .procname = "shmmni", |
180 | .data = &init_ipc_ns.shm_ctlmni, | 180 | .data = &init_ipc_ns.shm_ctlmni, |
181 | .maxlen = sizeof (init_ipc_ns.shm_ctlmni), | 181 | .maxlen = sizeof(init_ipc_ns.shm_ctlmni), |
182 | .mode = 0644, | 182 | .mode = 0644, |
183 | .proc_handler = proc_ipc_dointvec, | 183 | .proc_handler = proc_ipc_dointvec, |
184 | }, | 184 | }, |
@@ -194,7 +194,7 @@ static struct ctl_table ipc_kern_table[] = { | |||
194 | { | 194 | { |
195 | .procname = "msgmax", | 195 | .procname = "msgmax", |
196 | .data = &init_ipc_ns.msg_ctlmax, | 196 | .data = &init_ipc_ns.msg_ctlmax, |
197 | .maxlen = sizeof (init_ipc_ns.msg_ctlmax), | 197 | .maxlen = sizeof(init_ipc_ns.msg_ctlmax), |
198 | .mode = 0644, | 198 | .mode = 0644, |
199 | .proc_handler = proc_ipc_dointvec_minmax, | 199 | .proc_handler = proc_ipc_dointvec_minmax, |
200 | .extra1 = &zero, | 200 | .extra1 = &zero, |
@@ -203,7 +203,7 @@ static struct ctl_table ipc_kern_table[] = { | |||
203 | { | 203 | { |
204 | .procname = "msgmni", | 204 | .procname = "msgmni", |
205 | .data = &init_ipc_ns.msg_ctlmni, | 205 | .data = &init_ipc_ns.msg_ctlmni, |
206 | .maxlen = sizeof (init_ipc_ns.msg_ctlmni), | 206 | .maxlen = sizeof(init_ipc_ns.msg_ctlmni), |
207 | .mode = 0644, | 207 | .mode = 0644, |
208 | .proc_handler = proc_ipc_callback_dointvec_minmax, | 208 | .proc_handler = proc_ipc_callback_dointvec_minmax, |
209 | .extra1 = &zero, | 209 | .extra1 = &zero, |
@@ -212,7 +212,7 @@ static struct ctl_table ipc_kern_table[] = { | |||
212 | { | 212 | { |
213 | .procname = "msgmnb", | 213 | .procname = "msgmnb", |
214 | .data = &init_ipc_ns.msg_ctlmnb, | 214 | .data = &init_ipc_ns.msg_ctlmnb, |
215 | .maxlen = sizeof (init_ipc_ns.msg_ctlmnb), | 215 | .maxlen = sizeof(init_ipc_ns.msg_ctlmnb), |
216 | .mode = 0644, | 216 | .mode = 0644, |
217 | .proc_handler = proc_ipc_dointvec_minmax, | 217 | .proc_handler = proc_ipc_dointvec_minmax, |
218 | .extra1 = &zero, | 218 | .extra1 = &zero, |
@@ -221,7 +221,7 @@ static struct ctl_table ipc_kern_table[] = { | |||
221 | { | 221 | { |
222 | .procname = "sem", | 222 | .procname = "sem", |
223 | .data = &init_ipc_ns.sem_ctls, | 223 | .data = &init_ipc_ns.sem_ctls, |
224 | .maxlen = 4*sizeof (int), | 224 | .maxlen = 4*sizeof(int), |
225 | .mode = 0644, | 225 | .mode = 0644, |
226 | .proc_handler = proc_ipc_dointvec, | 226 | .proc_handler = proc_ipc_dointvec, |
227 | }, | 227 | }, |