From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id E43D12BF2 for ; Wed, 23 May 2018 14:11:17 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id j5-v6so8509380wme.5 for ; Wed, 23 May 2018 05:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vsgfu2IT/T9+RydkSvnAEeKNA+57qyFKk2Bijwc66PM=; b=GJ+Lz6JT1tFL27ofDvsE8FEGsg9cgFHZMt4bDcmSVScUqoZUPI7vfC2XJ1dMwgTrL1 dojMx/vATHwCWL1u15GuWXrmt6xIoetIg9fs2SXxwCp763apP7YCzUte3GUeJPcpRu4A YWu+zkoX3yrZiKtyE81Xzmd4i0hxzZoJ2kfeVMnU6tAOc2QNnj23jRPrz3GkQPdGcOjh UGTpIiF2hPlaRDfmSsGOpKjVIjYr1gKiygH0BUlkkjBQ1XFGMpozyMdfX3ddN/JgwVmR E+PVCehK6EW8mZhFLD8gEjtVqD4BO6SiPK5CfdnNH7AOSBRDTnvLNizrxrjLQe4iLbIg XBcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vsgfu2IT/T9+RydkSvnAEeKNA+57qyFKk2Bijwc66PM=; b=HC++dV+49/V+GigoQZybuXpOslQvaPr7tDpEVKWt8+VsCAiaNN1kCngpETeWcAAtxu 9iHJq01vCQY4nMcIT9LtPfDQC0sdmLCGTSzogTWi+jusojW+9cojHgaMiebUOQUjnG0N 6m6wn/J3aRGygUdaXJ7qaHuktDMGra/OOgD+3Ok5ecWAXt/AwKOmbFN6gzV5R9tCunt0 E8hdqfxubp+yBaB9aVG6tHzKflgTubp9oMcRaUZk12EN3h7531XLOY1OXsUxz2y/udz1 H/1rLqQ1bh406aXeDQbXynzDX7J1Z7me9BYPneQ+xcPIn9ouCsWaPPrvYaw6L1vsA1dS UHbA== X-Gm-Message-State: ALKqPwe2f5oqBc6NprP7pdf+wyAjFn9zw54Bs9NrYi2nhekEMOGftJxH LMSh7/WRWRTMioyP1jKB0M/SRGIH26E= X-Google-Smtp-Source: AB8JxZr0Svz3IDIjfYRLXsNaM1FoWebwPzK5O8TXN7W6a65km0eVDpOagTeFHlYzwnQmF4Kzmez0wQ== X-Received: by 2002:a1c:5d4f:: with SMTP id r76-v6mr4415448wmb.93.1527077477665; Wed, 23 May 2018 05:11:17 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id w5-v6sm1985248wmd.26.2018.05.23.05.11.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:11:16 -0700 (PDT) From: luca.boccassi@gmail.com To: Pablo de Lara Cc: Fiona Trahe , dpdk stable Date: Wed, 23 May 2018 13:09:49 +0100 Message-Id: <20180523121010.8385-38-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/aesni_gcm: remove unneeded cast' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 12:11:18 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 5bd4a62b93d76166688eedbb0aec810d69386c91 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Tue, 15 May 2018 21:21:02 +0100 Subject: [PATCH] crypto/aesni_gcm: remove unneeded cast [ upstream commit 5fa2a3089b5df4089009558e9d2f9b8aa31fccfb ] qp->temp_digest is already an array of uint8_t, so no need to cast to uint8_t*. Fixes: baf1e63bfd65 ("crypto/aesni_gcm: do not append digest") Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c index 83e544809..4bcc7408e 100644 --- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c +++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c @@ -352,7 +352,7 @@ post_process_gcm_crypto_op(struct aesni_gcm_qp *qp, session->op == AESNI_GMAC_OP_VERIFY) { uint8_t *digest; - uint8_t *tag = (uint8_t *)&qp->temp_digest; + uint8_t *tag = qp->temp_digest; if (session->op == AESNI_GMAC_OP_VERIFY) digest = op->sym->auth.digest.data; -- 2.14.2