diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:03 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:03 -0400 |
commit | b39993936d3b192ea088995f7ba882a49e4bf09c (patch) | |
tree | 367480615b9c047a22b297cb310390b1fc8733f1 /drivers/infiniband/hw/mthca/mthca_dev.h | |
parent | 4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff) |
IB/mthca: Formatting cleanups
Fix a few whitespace and other coding style problems.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_dev.h')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_dev.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_dev.h b/drivers/infiniband/hw/mthca/mthca_dev.h index 7bbdd1f4e6c7..f82ed832ad97 100644 --- a/drivers/infiniband/hw/mthca/mthca_dev.h +++ b/drivers/infiniband/hw/mthca/mthca_dev.h | |||
@@ -390,11 +390,11 @@ extern void __buggy_use_of_MTHCA_PUT(void); | |||
390 | do { \ | 390 | do { \ |
391 | void *__p = (char *) (source) + (offset); \ | 391 | void *__p = (char *) (source) + (offset); \ |
392 | switch (sizeof (dest)) { \ | 392 | switch (sizeof (dest)) { \ |
393 | case 1: (dest) = *(u8 *) __p; break; \ | 393 | case 1: (dest) = *(u8 *) __p; break; \ |
394 | case 2: (dest) = be16_to_cpup(__p); break; \ | 394 | case 2: (dest) = be16_to_cpup(__p); break; \ |
395 | case 4: (dest) = be32_to_cpup(__p); break; \ | 395 | case 4: (dest) = be32_to_cpup(__p); break; \ |
396 | case 8: (dest) = be64_to_cpup(__p); break; \ | 396 | case 8: (dest) = be64_to_cpup(__p); break; \ |
397 | default: __buggy_use_of_MTHCA_GET(); \ | 397 | default: __buggy_use_of_MTHCA_GET(); \ |
398 | } \ | 398 | } \ |
399 | } while (0) | 399 | } while (0) |
400 | 400 | ||