diff options
author | Doug Maxey <dwm@austin.ibm.com> | 2008-01-31 21:20:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:25:57 -0500 |
commit | e076c872df1673f606c2e6566cea59473796633c (patch) | |
tree | 9db85ebfdcf7760dce7b531e121a6a0fba9fc46e /drivers/net/ehea/ehea_phyp.h | |
parent | 508d2b5d261abbd7fb728092c5025c5063060c04 (diff) |
ehea: fix phyp checkpatch complaints
Cc: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ehea/ehea_phyp.h')
-rw-r--r-- | drivers/net/ehea/ehea_phyp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/ehea/ehea_phyp.h b/drivers/net/ehea/ehea_phyp.h index faa191d23b86..f3628c803567 100644 --- a/drivers/net/ehea/ehea_phyp.h +++ b/drivers/net/ehea/ehea_phyp.h | |||
@@ -93,7 +93,7 @@ static inline void hcp_epas_ctor(struct h_epas *epas, u64 paddr_kernel, | |||
93 | static inline void hcp_epas_dtor(struct h_epas *epas) | 93 | static inline void hcp_epas_dtor(struct h_epas *epas) |
94 | { | 94 | { |
95 | if (epas->kernel.addr) | 95 | if (epas->kernel.addr) |
96 | iounmap((void __iomem*)((u64)epas->kernel.addr & PAGE_MASK)); | 96 | iounmap((void __iomem *)((u64)epas->kernel.addr & PAGE_MASK)); |
97 | 97 | ||
98 | epas->user.addr = 0; | 98 | epas->user.addr = 0; |
99 | epas->kernel.addr = 0; | 99 | epas->kernel.addr = 0; |
@@ -388,23 +388,23 @@ u64 ehea_h_modify_ehea_qp(const u64 adapter_handle, | |||
388 | const u64 qp_handle, | 388 | const u64 qp_handle, |
389 | const u64 sel_mask, | 389 | const u64 sel_mask, |
390 | void *cb_addr, | 390 | void *cb_addr, |
391 | u64 * inv_attr_id, | 391 | u64 *inv_attr_id, |
392 | u64 * proc_mask, u16 * out_swr, u16 * out_rwr); | 392 | u64 *proc_mask, u16 *out_swr, u16 *out_rwr); |
393 | 393 | ||
394 | u64 ehea_h_alloc_resource_eq(const u64 adapter_handle, | 394 | u64 ehea_h_alloc_resource_eq(const u64 adapter_handle, |
395 | struct ehea_eq_attr *eq_attr, u64 * eq_handle); | 395 | struct ehea_eq_attr *eq_attr, u64 *eq_handle); |
396 | 396 | ||
397 | u64 ehea_h_alloc_resource_cq(const u64 adapter_handle, | 397 | u64 ehea_h_alloc_resource_cq(const u64 adapter_handle, |
398 | struct ehea_cq_attr *cq_attr, | 398 | struct ehea_cq_attr *cq_attr, |
399 | u64 * cq_handle, struct h_epas *epas); | 399 | u64 *cq_handle, struct h_epas *epas); |
400 | 400 | ||
401 | u64 ehea_h_alloc_resource_qp(const u64 adapter_handle, | 401 | u64 ehea_h_alloc_resource_qp(const u64 adapter_handle, |
402 | struct ehea_qp_init_attr *init_attr, | 402 | struct ehea_qp_init_attr *init_attr, |
403 | const u32 pd, | 403 | const u32 pd, |
404 | u64 * qp_handle, struct h_epas *h_epas); | 404 | u64 *qp_handle, struct h_epas *h_epas); |
405 | 405 | ||
406 | #define H_REG_RPAGE_PAGE_SIZE EHEA_BMASK_IBM(48,55) | 406 | #define H_REG_RPAGE_PAGE_SIZE EHEA_BMASK_IBM(48, 55) |
407 | #define H_REG_RPAGE_QT EHEA_BMASK_IBM(62,63) | 407 | #define H_REG_RPAGE_QT EHEA_BMASK_IBM(62, 63) |
408 | 408 | ||
409 | u64 ehea_h_register_rpage(const u64 adapter_handle, | 409 | u64 ehea_h_register_rpage(const u64 adapter_handle, |
410 | const u8 pagesize, | 410 | const u8 pagesize, |
@@ -426,7 +426,7 @@ u64 ehea_h_free_resource(const u64 adapter_handle, const u64 res_handle, | |||
426 | 426 | ||
427 | u64 ehea_h_alloc_resource_mr(const u64 adapter_handle, const u64 vaddr, | 427 | u64 ehea_h_alloc_resource_mr(const u64 adapter_handle, const u64 vaddr, |
428 | const u64 length, const u32 access_ctrl, | 428 | const u64 length, const u32 access_ctrl, |
429 | const u32 pd, u64 * mr_handle, u32 * lkey); | 429 | const u32 pd, u64 *mr_handle, u32 *lkey); |
430 | 430 | ||
431 | u64 ehea_h_register_rpage_mr(const u64 adapter_handle, const u64 mr_handle, | 431 | u64 ehea_h_register_rpage_mr(const u64 adapter_handle, const u64 mr_handle, |
432 | const u8 pagesize, const u8 queue_type, | 432 | const u8 pagesize, const u8 queue_type, |
@@ -439,8 +439,8 @@ u64 ehea_h_register_smr(const u64 adapter_handle, const u64 orig_mr_handle, | |||
439 | u64 ehea_h_query_ehea(const u64 adapter_handle, void *cb_addr); | 439 | u64 ehea_h_query_ehea(const u64 adapter_handle, void *cb_addr); |
440 | 440 | ||
441 | /* output param R5 */ | 441 | /* output param R5 */ |
442 | #define H_MEHEAPORT_CAT EHEA_BMASK_IBM(40,47) | 442 | #define H_MEHEAPORT_CAT EHEA_BMASK_IBM(40, 47) |
443 | #define H_MEHEAPORT_PN EHEA_BMASK_IBM(48,63) | 443 | #define H_MEHEAPORT_PN EHEA_BMASK_IBM(48, 63) |
444 | 444 | ||
445 | u64 ehea_h_query_ehea_port(const u64 adapter_handle, const u16 port_num, | 445 | u64 ehea_h_query_ehea_port(const u64 adapter_handle, const u16 port_num, |
446 | const u8 cb_cat, const u64 select_mask, | 446 | const u8 cb_cat, const u64 select_mask, |