diff options
author | Sean Hefty <sean.hefty@intel.com> | 2005-08-14 00:05:57 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-08-26 23:37:35 -0400 |
commit | 97f52eb438be7caebe026421545619d8a0c1398a (patch) | |
tree | 1085acb833b691e9cc7ef607e4b4ac8cbd81e03f /drivers/infiniband/hw/mthca/mthca_provider.h | |
parent | 92a6b34bf4d0d11c54b2a6bdd6240f98cb326200 (diff) |
[PATCH] IB: sparse endianness cleanup
Fix sparse warnings. Use __be* where appropriate.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.h')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_provider.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.h b/drivers/infiniband/hw/mthca/mthca_provider.h index 727aad8d4f33..624651edf577 100644 --- a/drivers/infiniband/hw/mthca/mthca_provider.h +++ b/drivers/infiniband/hw/mthca/mthca_provider.h | |||
@@ -182,9 +182,9 @@ struct mthca_cq { | |||
182 | 182 | ||
183 | /* Next fields are Arbel only */ | 183 | /* Next fields are Arbel only */ |
184 | int set_ci_db_index; | 184 | int set_ci_db_index; |
185 | u32 *set_ci_db; | 185 | __be32 *set_ci_db; |
186 | int arm_db_index; | 186 | int arm_db_index; |
187 | u32 *arm_db; | 187 | __be32 *arm_db; |
188 | int arm_sn; | 188 | int arm_sn; |
189 | 189 | ||
190 | union { | 190 | union { |
@@ -207,7 +207,7 @@ struct mthca_wq { | |||
207 | int wqe_shift; | 207 | int wqe_shift; |
208 | 208 | ||
209 | int db_index; /* Arbel only */ | 209 | int db_index; /* Arbel only */ |
210 | u32 *db; | 210 | __be32 *db; |
211 | }; | 211 | }; |
212 | 212 | ||
213 | struct mthca_qp { | 213 | struct mthca_qp { |