Commit f13f9f50 authored by Hal Rosenstock's avatar Hal Rosenstock Committed by Linus Torvalds

[PATCH] IB: Eliminate sparse warnings in SA client

Eliminate sparse warnings in SA client
Signed-off-by: default avatarHal Rosenstock <halr@voltaire.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8fd65b09
...@@ -600,7 +600,7 @@ static void ib_sa_path_rec_release(struct ib_sa_query *sa_query) ...@@ -600,7 +600,7 @@ static void ib_sa_path_rec_release(struct ib_sa_query *sa_query)
int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, int ib_sa_path_rec_get(struct ib_device *device, u8 port_num,
struct ib_sa_path_rec *rec, struct ib_sa_path_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_path_rec *resp, struct ib_sa_path_rec *resp,
void *context), void *context),
...@@ -702,7 +702,7 @@ static void ib_sa_service_rec_release(struct ib_sa_query *sa_query) ...@@ -702,7 +702,7 @@ static void ib_sa_service_rec_release(struct ib_sa_query *sa_query)
int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, u8 method, int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, u8 method,
struct ib_sa_service_rec *rec, struct ib_sa_service_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_service_rec *resp, struct ib_sa_service_rec *resp,
void *context), void *context),
...@@ -785,7 +785,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num, ...@@ -785,7 +785,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num,
u8 method, u8 method,
struct ib_sa_mcmember_rec *rec, struct ib_sa_mcmember_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_mcmember_rec *resp, struct ib_sa_mcmember_rec *resp,
void *context), void *context),
......
...@@ -256,7 +256,7 @@ void ib_sa_cancel_query(int id, struct ib_sa_query *query); ...@@ -256,7 +256,7 @@ void ib_sa_cancel_query(int id, struct ib_sa_query *query);
int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, int ib_sa_path_rec_get(struct ib_device *device, u8 port_num,
struct ib_sa_path_rec *rec, struct ib_sa_path_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_path_rec *resp, struct ib_sa_path_rec *resp,
void *context), void *context),
...@@ -267,7 +267,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num, ...@@ -267,7 +267,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num,
u8 method, u8 method,
struct ib_sa_mcmember_rec *rec, struct ib_sa_mcmember_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_mcmember_rec *resp, struct ib_sa_mcmember_rec *resp,
void *context), void *context),
...@@ -278,7 +278,7 @@ int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, ...@@ -278,7 +278,7 @@ int ib_sa_service_rec_query(struct ib_device *device, u8 port_num,
u8 method, u8 method,
struct ib_sa_service_rec *rec, struct ib_sa_service_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_service_rec *resp, struct ib_sa_service_rec *resp,
void *context), void *context),
...@@ -313,7 +313,7 @@ static inline int ...@@ -313,7 +313,7 @@ static inline int
ib_sa_mcmember_rec_set(struct ib_device *device, u8 port_num, ib_sa_mcmember_rec_set(struct ib_device *device, u8 port_num,
struct ib_sa_mcmember_rec *rec, struct ib_sa_mcmember_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_mcmember_rec *resp, struct ib_sa_mcmember_rec *resp,
void *context), void *context),
...@@ -355,7 +355,7 @@ static inline int ...@@ -355,7 +355,7 @@ static inline int
ib_sa_mcmember_rec_delete(struct ib_device *device, u8 port_num, ib_sa_mcmember_rec_delete(struct ib_device *device, u8 port_num,
struct ib_sa_mcmember_rec *rec, struct ib_sa_mcmember_rec *rec,
ib_sa_comp_mask comp_mask, ib_sa_comp_mask comp_mask,
int timeout_ms, int gfp_mask, int timeout_ms, unsigned int __nocast gfp_mask,
void (*callback)(int status, void (*callback)(int status,
struct ib_sa_mcmember_rec *resp, struct ib_sa_mcmember_rec *resp,
void *context), void *context),
......
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