Commit a74cd4af authored by Roland Dreier's avatar Roland Dreier

IB: Whitespace cleanups

Remove trailing whitespace and fix indentation that with spaces
instead of tabs.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent d844183d
...@@ -1134,8 +1134,8 @@ ssize_t ib_uverbs_destroy_qp(struct ib_uverbs_file *file, ...@@ -1134,8 +1134,8 @@ ssize_t ib_uverbs_destroy_qp(struct ib_uverbs_file *file,
} }
ssize_t ib_uverbs_post_send(struct ib_uverbs_file *file, ssize_t ib_uverbs_post_send(struct ib_uverbs_file *file,
const char __user *buf, int in_len, const char __user *buf, int in_len,
int out_len) int out_len)
{ {
struct ib_uverbs_post_send cmd; struct ib_uverbs_post_send cmd;
struct ib_uverbs_post_send_resp resp; struct ib_uverbs_post_send_resp resp;
...@@ -1363,8 +1363,8 @@ static struct ib_recv_wr *ib_uverbs_unmarshall_recv(const char __user *buf, ...@@ -1363,8 +1363,8 @@ static struct ib_recv_wr *ib_uverbs_unmarshall_recv(const char __user *buf,
} }
ssize_t ib_uverbs_post_recv(struct ib_uverbs_file *file, ssize_t ib_uverbs_post_recv(struct ib_uverbs_file *file,
const char __user *buf, int in_len, const char __user *buf, int in_len,
int out_len) int out_len)
{ {
struct ib_uverbs_post_recv cmd; struct ib_uverbs_post_recv cmd;
struct ib_uverbs_post_recv_resp resp; struct ib_uverbs_post_recv_resp resp;
...@@ -1414,8 +1414,8 @@ ssize_t ib_uverbs_post_recv(struct ib_uverbs_file *file, ...@@ -1414,8 +1414,8 @@ ssize_t ib_uverbs_post_recv(struct ib_uverbs_file *file,
} }
ssize_t ib_uverbs_post_srq_recv(struct ib_uverbs_file *file, ssize_t ib_uverbs_post_srq_recv(struct ib_uverbs_file *file,
const char __user *buf, int in_len, const char __user *buf, int in_len,
int out_len) int out_len)
{ {
struct ib_uverbs_post_srq_recv cmd; struct ib_uverbs_post_srq_recv cmd;
struct ib_uverbs_post_srq_recv_resp resp; struct ib_uverbs_post_srq_recv_resp resp;
......
...@@ -462,7 +462,6 @@ void ib_uverbs_cq_event_handler(struct ib_event *event, void *context_ptr) ...@@ -462,7 +462,6 @@ void ib_uverbs_cq_event_handler(struct ib_event *event, void *context_ptr)
ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle, ib_uverbs_async_handler(uobj->uverbs_file, uobj->uobject.user_handle,
event->event, &uobj->async_list, event->event, &uobj->async_list,
&uobj->async_events_reported); &uobj->async_events_reported);
} }
void ib_uverbs_qp_event_handler(struct ib_event *event, void *context_ptr) void ib_uverbs_qp_event_handler(struct ib_event *event, void *context_ptr)
......
...@@ -574,8 +574,7 @@ int ib_destroy_cq(struct ib_cq *cq) ...@@ -574,8 +574,7 @@ int ib_destroy_cq(struct ib_cq *cq)
} }
EXPORT_SYMBOL(ib_destroy_cq); EXPORT_SYMBOL(ib_destroy_cq);
int ib_resize_cq(struct ib_cq *cq, int ib_resize_cq(struct ib_cq *cq, int cqe)
int cqe)
{ {
return cq->device->resize_cq ? return cq->device->resize_cq ?
cq->device->resize_cq(cq, cqe, NULL) : -ENOSYS; cq->device->resize_cq(cq, cqe, NULL) : -ENOSYS;
......
...@@ -426,7 +426,7 @@ struct ib_uverbs_sge { ...@@ -426,7 +426,7 @@ struct ib_uverbs_sge {
}; };
struct ib_uverbs_send_wr { struct ib_uverbs_send_wr {
__u64 wr_id; __u64 wr_id;
__u32 num_sge; __u32 num_sge;
__u32 opcode; __u32 opcode;
__u32 send_flags; __u32 send_flags;
...@@ -500,7 +500,7 @@ struct ib_uverbs_post_srq_recv_resp { ...@@ -500,7 +500,7 @@ struct ib_uverbs_post_srq_recv_resp {
struct ib_uverbs_global_route { struct ib_uverbs_global_route {
__u8 dgid[16]; __u8 dgid[16];
__u32 flow_label; __u32 flow_label;
__u8 sgid_index; __u8 sgid_index;
__u8 hop_limit; __u8 hop_limit;
__u8 traffic_class; __u8 traffic_class;
......
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