aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_lic.c
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-28 10:44:03 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-28 10:44:03 +0000
commit2910c2465f9a615cc165b383b7bbb5c88868651c (patch)
tree631622e4372d4c95f8138a33a053b33e76187a11 /sys/dev/sfxge/common/efx_lic.c
parent6d4e783ecb644324a60ed71e1fbd42a547ca2111 (diff)
downloadsrc-2910c2465f9a615cc165b383b7bbb5c88868651c.tar.gz
src-2910c2465f9a615cc165b383b7bbb5c88868651c.zip
sfxge(4): cleanup: use spaces around binary arithmetic operations
Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
Notes
Notes: svn path=/head/; revision=310680
Diffstat (limited to 'sys/dev/sfxge/common/efx_lic.c')
-rw-r--r--sys/dev/sfxge/common/efx_lic.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/sfxge/common/efx_lic.c b/sys/dev/sfxge/common/efx_lic.c
index c1c05e28cba4..401647324ddf 100644
--- a/sys/dev/sfxge/common/efx_lic.c
+++ b/sys/dev/sfxge/common/efx_lic.c
@@ -456,7 +456,7 @@ fail1:
* Value (V): L bytes - payload
*/
#define EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX (256)
-#define EFX_LICENSE_V1V2_HEADER_LENGTH (2*sizeof(uint16_t))
+#define EFX_LICENSE_V1V2_HEADER_LENGTH (2 * sizeof(uint16_t))
__checkReturn efx_rc_t
efx_lic_v1v2_find_start(
@@ -1082,9 +1082,10 @@ efx_mcdi_licensing_v3_get_id(
} else {
/* Shift ID down to start of buffer */
memmove(bufferp,
- bufferp+MC_CMD_LICENSING_GET_ID_V3_OUT_LICENSE_ID_OFST,
- *lengthp);
- memset(bufferp+(*lengthp), 0, MC_CMD_LICENSING_GET_ID_V3_OUT_LICENSE_ID_OFST);
+ bufferp + MC_CMD_LICENSING_GET_ID_V3_OUT_LICENSE_ID_OFST,
+ *lengthp);
+ memset(bufferp + (*lengthp), 0,
+ MC_CMD_LICENSING_GET_ID_V3_OUT_LICENSE_ID_OFST);
}
return (0);