aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Chiang <achiang@hp.com>2010-02-02 14:08:19 -0500
committerRoland Dreier <rolandd@cisco.com>2010-02-24 13:23:42 -0500
commit9afed76d59749f1b95e5e1d7d5bc4c3041852aa9 (patch)
treec805772075d848f41dd890d119474525cb3640ac /drivers
parent830a38713816fb1f0d05efc339bf41e91ac74379 (diff)
IB/uverbs: Whitespace cleanup
Clean up the errors as shown when 'let c_space_errors=1' is set in vim. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/core/uverbs_main.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c
index 7d42d550e87e..dbf04511cf0a 100644
--- a/drivers/infiniband/core/uverbs_main.c
+++ b/drivers/infiniband/core/uverbs_main.c
@@ -79,34 +79,34 @@ static DECLARE_BITMAP(dev_map, IB_UVERBS_MAX_DEVICES);
79static ssize_t (*uverbs_cmd_table[])(struct ib_uverbs_file *file, 79static ssize_t (*uverbs_cmd_table[])(struct ib_uverbs_file *file,
80 const char __user *buf, int in_len, 80 const char __user *buf, int in_len,
81 int out_len) = { 81 int out_len) = {
82 [IB_USER_VERBS_CMD_GET_CONTEXT] = ib_uverbs_get_context, 82 [IB_USER_VERBS_CMD_GET_CONTEXT] = ib_uverbs_get_context,
83 [IB_USER_VERBS_CMD_QUERY_DEVICE] = ib_uverbs_query_device, 83 [IB_USER_VERBS_CMD_QUERY_DEVICE] = ib_uverbs_query_device,
84 [IB_USER_VERBS_CMD_QUERY_PORT] = ib_uverbs_query_port, 84 [IB_USER_VERBS_CMD_QUERY_PORT] = ib_uverbs_query_port,
85 [IB_USER_VERBS_CMD_ALLOC_PD] = ib_uverbs_alloc_pd, 85 [IB_USER_VERBS_CMD_ALLOC_PD] = ib_uverbs_alloc_pd,
86 [IB_USER_VERBS_CMD_DEALLOC_PD] = ib_uverbs_dealloc_pd, 86 [IB_USER_VERBS_CMD_DEALLOC_PD] = ib_uverbs_dealloc_pd,
87 [IB_USER_VERBS_CMD_REG_MR] = ib_uverbs_reg_mr, 87 [IB_USER_VERBS_CMD_REG_MR] = ib_uverbs_reg_mr,
88 [IB_USER_VERBS_CMD_DEREG_MR] = ib_uverbs_dereg_mr, 88 [IB_USER_VERBS_CMD_DEREG_MR] = ib_uverbs_dereg_mr,
89 [IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL] = ib_uverbs_create_comp_channel, 89 [IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL] = ib_uverbs_create_comp_channel,
90 [IB_USER_VERBS_CMD_CREATE_CQ] = ib_uverbs_create_cq, 90 [IB_USER_VERBS_CMD_CREATE_CQ] = ib_uverbs_create_cq,
91 [IB_USER_VERBS_CMD_RESIZE_CQ] = ib_uverbs_resize_cq, 91 [IB_USER_VERBS_CMD_RESIZE_CQ] = ib_uverbs_resize_cq,
92 [IB_USER_VERBS_CMD_POLL_CQ] = ib_uverbs_poll_cq, 92 [IB_USER_VERBS_CMD_POLL_CQ] = ib_uverbs_poll_cq,
93 [IB_USER_VERBS_CMD_REQ_NOTIFY_CQ] = ib_uverbs_req_notify_cq, 93 [IB_USER_VERBS_CMD_REQ_NOTIFY_CQ] = ib_uverbs_req_notify_cq,
94 [IB_USER_VERBS_CMD_DESTROY_CQ] = ib_uverbs_destroy_cq, 94 [IB_USER_VERBS_CMD_DESTROY_CQ] = ib_uverbs_destroy_cq,
95 [IB_USER_VERBS_CMD_CREATE_QP] = ib_uverbs_create_qp, 95 [IB_USER_VERBS_CMD_CREATE_QP] = ib_uverbs_create_qp,
96 [IB_USER_VERBS_CMD_QUERY_QP] = ib_uverbs_query_qp, 96 [IB_USER_VERBS_CMD_QUERY_QP] = ib_uverbs_query_qp,
97 [IB_USER_VERBS_CMD_MODIFY_QP] = ib_uverbs_modify_qp, 97 [IB_USER_VERBS_CMD_MODIFY_QP] = ib_uverbs_modify_qp,
98 [IB_USER_VERBS_CMD_DESTROY_QP] = ib_uverbs_destroy_qp, 98 [IB_USER_VERBS_CMD_DESTROY_QP] = ib_uverbs_destroy_qp,
99 [IB_USER_VERBS_CMD_POST_SEND] = ib_uverbs_post_send, 99 [IB_USER_VERBS_CMD_POST_SEND] = ib_uverbs_post_send,
100 [IB_USER_VERBS_CMD_POST_RECV] = ib_uverbs_post_recv, 100 [IB_USER_VERBS_CMD_POST_RECV] = ib_uverbs_post_recv,
101 [IB_USER_VERBS_CMD_POST_SRQ_RECV] = ib_uverbs_post_srq_recv, 101 [IB_USER_VERBS_CMD_POST_SRQ_RECV] = ib_uverbs_post_srq_recv,
102 [IB_USER_VERBS_CMD_CREATE_AH] = ib_uverbs_create_ah, 102 [IB_USER_VERBS_CMD_CREATE_AH] = ib_uverbs_create_ah,
103 [IB_USER_VERBS_CMD_DESTROY_AH] = ib_uverbs_destroy_ah, 103 [IB_USER_VERBS_CMD_DESTROY_AH] = ib_uverbs_destroy_ah,
104 [IB_USER_VERBS_CMD_ATTACH_MCAST] = ib_uverbs_attach_mcast, 104 [IB_USER_VERBS_CMD_ATTACH_MCAST] = ib_uverbs_attach_mcast,
105 [IB_USER_VERBS_CMD_DETACH_MCAST] = ib_uverbs_detach_mcast, 105 [IB_USER_VERBS_CMD_DETACH_MCAST] = ib_uverbs_detach_mcast,
106 [IB_USER_VERBS_CMD_CREATE_SRQ] = ib_uverbs_create_srq, 106 [IB_USER_VERBS_CMD_CREATE_SRQ] = ib_uverbs_create_srq,
107 [IB_USER_VERBS_CMD_MODIFY_SRQ] = ib_uverbs_modify_srq, 107 [IB_USER_VERBS_CMD_MODIFY_SRQ] = ib_uverbs_modify_srq,
108 [IB_USER_VERBS_CMD_QUERY_SRQ] = ib_uverbs_query_srq, 108 [IB_USER_VERBS_CMD_QUERY_SRQ] = ib_uverbs_query_srq,
109 [IB_USER_VERBS_CMD_DESTROY_SRQ] = ib_uverbs_destroy_srq, 109 [IB_USER_VERBS_CMD_DESTROY_SRQ] = ib_uverbs_destroy_srq,
110}; 110};
111 111
112static struct vfsmount *uverbs_event_mnt; 112static struct vfsmount *uverbs_event_mnt;
@@ -368,7 +368,7 @@ static int ib_uverbs_event_close(struct inode *inode, struct file *filp)
368 368
369static const struct file_operations uverbs_event_fops = { 369static const struct file_operations uverbs_event_fops = {
370 .owner = THIS_MODULE, 370 .owner = THIS_MODULE,
371 .read = ib_uverbs_event_read, 371 .read = ib_uverbs_event_read,
372 .poll = ib_uverbs_event_poll, 372 .poll = ib_uverbs_event_poll,
373 .release = ib_uverbs_event_close, 373 .release = ib_uverbs_event_close,
374 .fasync = ib_uverbs_event_fasync 374 .fasync = ib_uverbs_event_fasync
@@ -678,17 +678,17 @@ static int ib_uverbs_close(struct inode *inode, struct file *filp)
678} 678}
679 679
680static const struct file_operations uverbs_fops = { 680static const struct file_operations uverbs_fops = {
681 .owner = THIS_MODULE, 681 .owner = THIS_MODULE,
682 .write = ib_uverbs_write, 682 .write = ib_uverbs_write,
683 .open = ib_uverbs_open, 683 .open = ib_uverbs_open,
684 .release = ib_uverbs_close 684 .release = ib_uverbs_close
685}; 685};
686 686
687static const struct file_operations uverbs_mmap_fops = { 687static const struct file_operations uverbs_mmap_fops = {
688 .owner = THIS_MODULE, 688 .owner = THIS_MODULE,
689 .write = ib_uverbs_write, 689 .write = ib_uverbs_write,
690 .mmap = ib_uverbs_mmap, 690 .mmap = ib_uverbs_mmap,
691 .open = ib_uverbs_open, 691 .open = ib_uverbs_open,
692 .release = ib_uverbs_close 692 .release = ib_uverbs_close
693}; 693};
694 694