Skip to content

Commit 1034740

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 55c89e4 commit 1034740

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/usr/clib/acl/acl_run_avx512_common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _F_(calc_addr)(_T_simd index_mask, _T_simd next_input, _T_simd shuffle_input, _T
3636

3737
/* Calc node type and node addr */
3838
node_type = _M_SI_(andnot)(index_mask, tr_lo);
39-
addr = _M_SI_(and)(index_mask, tr_lo);
39+
addr = _M_SI_ (and)(index_mask, tr_lo);
4040

4141
/* mask for DFA type(0) nodes */
4242
dfa_msk = _M_I_(cmpeq_epi32_mask)(node_type, t);
@@ -112,7 +112,7 @@ _F_(first_trans)(const struct acl_flow_avx512 *flow, _T_simd next_input, _T_mask
112112
addr = _M_I_(set1_epi32)(UINT8_MAX);
113113
root = _M_I_(set1_epi32)(flow->root_index);
114114

115-
addr = _M_SI_(and)(next_input, addr);
115+
addr = _M_SI_ (and)(next_input, addr);
116116
addr = _M_I_(add_epi32)(root, addr);
117117

118118
/* load lower 32 bits of _N_ transactions at once. */
@@ -231,7 +231,7 @@ _F_(match_process)(struct acl_flow_avx512 *flow, uint32_t *fmsk, uint32_t *rmsk,
231231
return 0;
232232

233233
/* extract match indexes */
234-
res = _M_SI_(and)(tr_lo[0], _SV_(index_mask));
234+
res = _M_SI_ (and)(tr_lo[0], _SV_(index_mask));
235235

236236
/* mask matched transitions to nop */
237237
tr_lo[0] = _M_I_(mask_mov_epi32)(tr_lo[0], rmsk[0], _SV_(trlo_idle));

lib/usr/slib/csock/csock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef void csock_t; /**< Forward declarations */
5555
* @return
5656
* NULL on success or a value for pthread_exit() call failure
5757
*/
58-
typedef void *(csock_client_fn_t)(csock_t *c);
58+
typedef void *(csock_client_fn_t)(csock_t * c);
5959

6060
/**
6161
* Template for the write function

0 commit comments

Comments
 (0)