diff options
author | Hal Rosenstock <halr@voltaire.com> | 2005-07-27 14:45:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:15 -0400 |
commit | f13f9f501a6eee14e495aba56ec6f70cf2328180 (patch) | |
tree | 9be60e2b98f3c65dbe6c5f0f3291cfbea86c549e /drivers | |
parent | 8fd65b096a7ba1fff69c7991f481ebac5498673e (diff) |
[PATCH] IB: Eliminate sparse warnings in SA client
Eliminate sparse warnings in SA client
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/core/sa_query.c | 6 | ||||
-rw-r--r-- | drivers/infiniband/include/ib_sa.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/infiniband/core/sa_query.c b/drivers/infiniband/core/sa_query.c index 18caf61d8847..795184931c83 100644 --- a/drivers/infiniband/core/sa_query.c +++ b/drivers/infiniband/core/sa_query.c | |||
@@ -600,7 +600,7 @@ static void ib_sa_path_rec_release(struct ib_sa_query *sa_query) | |||
600 | int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, | 600 | int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, |
601 | struct ib_sa_path_rec *rec, | 601 | struct ib_sa_path_rec *rec, |
602 | ib_sa_comp_mask comp_mask, | 602 | ib_sa_comp_mask comp_mask, |
603 | int timeout_ms, int gfp_mask, | 603 | int timeout_ms, unsigned int __nocast gfp_mask, |
604 | void (*callback)(int status, | 604 | void (*callback)(int status, |
605 | struct ib_sa_path_rec *resp, | 605 | struct ib_sa_path_rec *resp, |
606 | void *context), | 606 | void *context), |
@@ -702,7 +702,7 @@ static void ib_sa_service_rec_release(struct ib_sa_query *sa_query) | |||
702 | int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, u8 method, | 702 | int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, u8 method, |
703 | struct ib_sa_service_rec *rec, | 703 | struct ib_sa_service_rec *rec, |
704 | ib_sa_comp_mask comp_mask, | 704 | ib_sa_comp_mask comp_mask, |
705 | int timeout_ms, int gfp_mask, | 705 | int timeout_ms, unsigned int __nocast gfp_mask, |
706 | void (*callback)(int status, | 706 | void (*callback)(int status, |
707 | struct ib_sa_service_rec *resp, | 707 | struct ib_sa_service_rec *resp, |
708 | void *context), | 708 | void *context), |
@@ -785,7 +785,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num, | |||
785 | u8 method, | 785 | u8 method, |
786 | struct ib_sa_mcmember_rec *rec, | 786 | struct ib_sa_mcmember_rec *rec, |
787 | ib_sa_comp_mask comp_mask, | 787 | ib_sa_comp_mask comp_mask, |
788 | int timeout_ms, int gfp_mask, | 788 | int timeout_ms, unsigned int __nocast gfp_mask, |
789 | void (*callback)(int status, | 789 | void (*callback)(int status, |
790 | struct ib_sa_mcmember_rec *resp, | 790 | struct ib_sa_mcmember_rec *resp, |
791 | void *context), | 791 | void *context), |
diff --git a/drivers/infiniband/include/ib_sa.h b/drivers/infiniband/include/ib_sa.h index 62047b753dc0..6d999f7b5d93 100644 --- a/drivers/infiniband/include/ib_sa.h +++ b/drivers/infiniband/include/ib_sa.h | |||
@@ -256,7 +256,7 @@ void ib_sa_cancel_query(int id, struct ib_sa_query *query); | |||
256 | int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, | 256 | int ib_sa_path_rec_get(struct ib_device *device, u8 port_num, |
257 | struct ib_sa_path_rec *rec, | 257 | struct ib_sa_path_rec *rec, |
258 | ib_sa_comp_mask comp_mask, | 258 | ib_sa_comp_mask comp_mask, |
259 | int timeout_ms, int gfp_mask, | 259 | int timeout_ms, unsigned int __nocast gfp_mask, |
260 | void (*callback)(int status, | 260 | void (*callback)(int status, |
261 | struct ib_sa_path_rec *resp, | 261 | struct ib_sa_path_rec *resp, |
262 | void *context), | 262 | void *context), |
@@ -267,7 +267,7 @@ int ib_sa_mcmember_rec_query(struct ib_device *device, u8 port_num, | |||
267 | u8 method, | 267 | u8 method, |
268 | struct ib_sa_mcmember_rec *rec, | 268 | struct ib_sa_mcmember_rec *rec, |
269 | ib_sa_comp_mask comp_mask, | 269 | ib_sa_comp_mask comp_mask, |
270 | int timeout_ms, int gfp_mask, | 270 | int timeout_ms, unsigned int __nocast gfp_mask, |
271 | void (*callback)(int status, | 271 | void (*callback)(int status, |
272 | struct ib_sa_mcmember_rec *resp, | 272 | struct ib_sa_mcmember_rec *resp, |
273 | void *context), | 273 | void *context), |
@@ -278,7 +278,7 @@ int ib_sa_service_rec_query(struct ib_device *device, u8 port_num, | |||
278 | u8 method, | 278 | u8 method, |
279 | struct ib_sa_service_rec *rec, | 279 | struct ib_sa_service_rec *rec, |
280 | ib_sa_comp_mask comp_mask, | 280 | ib_sa_comp_mask comp_mask, |
281 | int timeout_ms, int gfp_mask, | 281 | int timeout_ms, unsigned int __nocast gfp_mask, |
282 | void (*callback)(int status, | 282 | void (*callback)(int status, |
283 | struct ib_sa_service_rec *resp, | 283 | struct ib_sa_service_rec *resp, |
284 | void *context), | 284 | void *context), |
@@ -313,7 +313,7 @@ static inline int | |||
313 | ib_sa_mcmember_rec_set(struct ib_device *device, u8 port_num, | 313 | ib_sa_mcmember_rec_set(struct ib_device *device, u8 port_num, |
314 | struct ib_sa_mcmember_rec *rec, | 314 | struct ib_sa_mcmember_rec *rec, |
315 | ib_sa_comp_mask comp_mask, | 315 | ib_sa_comp_mask comp_mask, |
316 | int timeout_ms, int gfp_mask, | 316 | int timeout_ms, unsigned int __nocast gfp_mask, |
317 | void (*callback)(int status, | 317 | void (*callback)(int status, |
318 | struct ib_sa_mcmember_rec *resp, | 318 | struct ib_sa_mcmember_rec *resp, |
319 | void *context), | 319 | void *context), |
@@ -355,7 +355,7 @@ static inline int | |||
355 | ib_sa_mcmember_rec_delete(struct ib_device *device, u8 port_num, | 355 | ib_sa_mcmember_rec_delete(struct ib_device *device, u8 port_num, |
356 | struct ib_sa_mcmember_rec *rec, | 356 | struct ib_sa_mcmember_rec *rec, |
357 | ib_sa_comp_mask comp_mask, | 357 | ib_sa_comp_mask comp_mask, |
358 | int timeout_ms, int gfp_mask, | 358 | int timeout_ms, unsigned int __nocast gfp_mask, |
359 | void (*callback)(int status, | 359 | void (*callback)(int status, |
360 | struct ib_sa_mcmember_rec *resp, | 360 | struct ib_sa_mcmember_rec *resp, |
361 | void *context), | 361 | void *context), |