diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-01-05 12:19:45 -0500 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-01-05 13:44:49 -0500 |
commit | 9c636baf8518d0f986004b40669b75506459beac (patch) | |
tree | cc2be296a29989f6a87e0bd677b228bb44ae0263 /drivers/net/ethernet/sfc/bitfield.h | |
parent | 1d5783030a14d1b6ee763f63c8136e581f48b365 (diff) |
sfc: Fix some formatting errors reported by checkpatch
Fix the following errors and warnings:
ERROR: trailing whitespace
ERROR: spaces required around that '=' (ctx:VxV)
WARNING: please, no space before tabs
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/bitfield.h')
-rw-r--r-- | drivers/net/ethernet/sfc/bitfield.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/ethernet/sfc/bitfield.h b/drivers/net/ethernet/sfc/bitfield.h index 098ac2ad757d..a2a9f40b90cf 100644 --- a/drivers/net/ethernet/sfc/bitfield.h +++ b/drivers/net/ethernet/sfc/bitfield.h | |||
@@ -448,40 +448,40 @@ typedef union efx_oword { | |||
448 | EFX_INSERT32(min, max, low, high, EFX_MASK32(high + 1 - low)) | 448 | EFX_INSERT32(min, max, low, high, EFX_MASK32(high + 1 - low)) |
449 | 449 | ||
450 | #define EFX_SET_OWORD64(oword, low, high, value) do { \ | 450 | #define EFX_SET_OWORD64(oword, low, high, value) do { \ |
451 | (oword).u64[0] = (((oword).u64[0] \ | 451 | (oword).u64[0] = (((oword).u64[0] \ |
452 | & ~EFX_INPLACE_MASK64(0, 63, low, high)) \ | 452 | & ~EFX_INPLACE_MASK64(0, 63, low, high)) \ |
453 | | EFX_INSERT64(0, 63, low, high, value)); \ | 453 | | EFX_INSERT64(0, 63, low, high, value)); \ |
454 | (oword).u64[1] = (((oword).u64[1] \ | 454 | (oword).u64[1] = (((oword).u64[1] \ |
455 | & ~EFX_INPLACE_MASK64(64, 127, low, high)) \ | 455 | & ~EFX_INPLACE_MASK64(64, 127, low, high)) \ |
456 | | EFX_INSERT64(64, 127, low, high, value)); \ | 456 | | EFX_INSERT64(64, 127, low, high, value)); \ |
457 | } while (0) | 457 | } while (0) |
458 | 458 | ||
459 | #define EFX_SET_QWORD64(qword, low, high, value) do { \ | 459 | #define EFX_SET_QWORD64(qword, low, high, value) do { \ |
460 | (qword).u64[0] = (((qword).u64[0] \ | 460 | (qword).u64[0] = (((qword).u64[0] \ |
461 | & ~EFX_INPLACE_MASK64(0, 63, low, high)) \ | 461 | & ~EFX_INPLACE_MASK64(0, 63, low, high)) \ |
462 | | EFX_INSERT64(0, 63, low, high, value)); \ | 462 | | EFX_INSERT64(0, 63, low, high, value)); \ |
463 | } while (0) | 463 | } while (0) |
464 | 464 | ||
465 | #define EFX_SET_OWORD32(oword, low, high, value) do { \ | 465 | #define EFX_SET_OWORD32(oword, low, high, value) do { \ |
466 | (oword).u32[0] = (((oword).u32[0] \ | 466 | (oword).u32[0] = (((oword).u32[0] \ |
467 | & ~EFX_INPLACE_MASK32(0, 31, low, high)) \ | 467 | & ~EFX_INPLACE_MASK32(0, 31, low, high)) \ |
468 | | EFX_INSERT32(0, 31, low, high, value)); \ | 468 | | EFX_INSERT32(0, 31, low, high, value)); \ |
469 | (oword).u32[1] = (((oword).u32[1] \ | 469 | (oword).u32[1] = (((oword).u32[1] \ |
470 | & ~EFX_INPLACE_MASK32(32, 63, low, high)) \ | 470 | & ~EFX_INPLACE_MASK32(32, 63, low, high)) \ |
471 | | EFX_INSERT32(32, 63, low, high, value)); \ | 471 | | EFX_INSERT32(32, 63, low, high, value)); \ |
472 | (oword).u32[2] = (((oword).u32[2] \ | 472 | (oword).u32[2] = (((oword).u32[2] \ |
473 | & ~EFX_INPLACE_MASK32(64, 95, low, high)) \ | 473 | & ~EFX_INPLACE_MASK32(64, 95, low, high)) \ |
474 | | EFX_INSERT32(64, 95, low, high, value)); \ | 474 | | EFX_INSERT32(64, 95, low, high, value)); \ |
475 | (oword).u32[3] = (((oword).u32[3] \ | 475 | (oword).u32[3] = (((oword).u32[3] \ |
476 | & ~EFX_INPLACE_MASK32(96, 127, low, high)) \ | 476 | & ~EFX_INPLACE_MASK32(96, 127, low, high)) \ |
477 | | EFX_INSERT32(96, 127, low, high, value)); \ | 477 | | EFX_INSERT32(96, 127, low, high, value)); \ |
478 | } while (0) | 478 | } while (0) |
479 | 479 | ||
480 | #define EFX_SET_QWORD32(qword, low, high, value) do { \ | 480 | #define EFX_SET_QWORD32(qword, low, high, value) do { \ |
481 | (qword).u32[0] = (((qword).u32[0] \ | 481 | (qword).u32[0] = (((qword).u32[0] \ |
482 | & ~EFX_INPLACE_MASK32(0, 31, low, high)) \ | 482 | & ~EFX_INPLACE_MASK32(0, 31, low, high)) \ |
483 | | EFX_INSERT32(0, 31, low, high, value)); \ | 483 | | EFX_INSERT32(0, 31, low, high, value)); \ |
484 | (qword).u32[1] = (((qword).u32[1] \ | 484 | (qword).u32[1] = (((qword).u32[1] \ |
485 | & ~EFX_INPLACE_MASK32(32, 63, low, high)) \ | 485 | & ~EFX_INPLACE_MASK32(32, 63, low, high)) \ |
486 | | EFX_INSERT32(32, 63, low, high, value)); \ | 486 | | EFX_INSERT32(32, 63, low, high, value)); \ |
487 | } while (0) | 487 | } while (0) |