From 096761378ce49cd7c94e1f1bc7a84babfb36c765 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 5 Aug 2020 05:58:25 +0000 Subject: [PATCH] Appease gcc's -Wparentheses (and -Werror) Sponsored by: The FreeBSD Foundation --- sys/dev/safexcel/safexcel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/safexcel/safexcel.c b/sys/dev/safexcel/safexcel.c index 2f7f2c04cc8..2ed6bed6413 100644 --- a/sys/dev/safexcel/safexcel.c +++ b/sys/dev/safexcel/safexcel.c @@ -1635,7 +1635,7 @@ safexcel_instr_ccm(struct safexcel_request *req, struct safexcel_instr *instr, b0 = (uint8_t *)instr; memset(b0, 0, blen); b0[0] = - L - 1 | /* payload length size */ + (L - 1) | /* payload length size */ ((CCM_CBC_MAX_DIGEST_LEN - 2) / 2) << 3 /* digest length */ | (crp->crp_aad_length > 0 ? 1 : 0) << 6 /* AAD present bit */; memcpy(&b0[1], req->iv, AES_CCM_IV_LEN);