diff options
author | Michael Welling <mwelling@ieee.org> | 2014-03-23 11:17:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-18 15:58:31 -0700 |
commit | 63809f5eeaf321dbb3abe326a72b706593c6c2f4 (patch) | |
tree | d944f1a3eece7ad59edd979ab21c46002facc110 | |
parent | 447d7403a6f304540bb7fcfa000fc3e56594edf1 (diff) | |
download | op-kernel-dev-63809f5eeaf321dbb3abe326a72b706593c6c2f4.zip op-kernel-dev-63809f5eeaf321dbb3abe326a72b706593c6c2f4.tar.gz |
STAGING: cxt1e1: Formatting fixes checkpatch issues
Removes spaces before & where needed.
Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/cxt1e1/pmc93x6_eeprom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/cxt1e1/pmc93x6_eeprom.c b/drivers/staging/cxt1e1/pmc93x6_eeprom.c index ab6fa73..d7d240a 100644 --- a/drivers/staging/cxt1e1/pmc93x6_eeprom.c +++ b/drivers/staging/cxt1e1/pmc93x6_eeprom.c @@ -425,9 +425,9 @@ static u_int32_t pmcCalcCrc_T01(void *bufp) u_int32_t crc; /* Calc CRC for type and length fields */ - sbeCrc((u_int8_t *) & buf->type, + sbeCrc((u_int8_t *) &buf->type, (u_int32_t) STRUCT_OFFSET(FLD_TYPE1, Crc32), - (u_int32_t) 0, (u_int32_t *) & crc); + (u_int32_t) 0, (u_int32_t *) &crc); #ifdef EEPROM_TYPE_DEBUG /* RLD DEBUG */ @@ -443,14 +443,14 @@ static u_int32_t pmcCalcCrc_T02(void *bufp) u_int32_t crc; /* Calc CRC for type and length fields */ - sbeCrc((u_int8_t *) & buf->type, + sbeCrc((u_int8_t *) &buf->type, (u_int32_t) STRUCT_OFFSET(FLD_TYPE2, Crc32), - (u_int32_t) 0, (u_int32_t *) & crc); + (u_int32_t) 0, (u_int32_t *) &crc); /* Calc CRC for remaining fields */ - sbeCrc((u_int8_t *) & buf->Id[0], + sbeCrc((u_int8_t *) &buf->Id[0], (u_int32_t) (sizeof(FLD_TYPE2) - STRUCT_OFFSET(FLD_TYPE2, Id)), - (u_int32_t) crc, (u_int32_t *) & crc); + (u_int32_t) crc, (u_int32_t *) &crc); #ifdef EEPROM_TYPE_DEBUG /* RLD DEBUG */ |