[dpdk-dev] [PATCH] crypto/mvsam: fix missed code change for mvsam

Thomas Monjalon thomas at monjalon.net
Mon Jul 8 17:22:36 CEST 2019


08/07/2019 12:26, Thomas Monjalon:
> 07/07/2019 07:41, Liron Himi:
> > From: Akhil Goyal <akhil.goyal at nxp.com> 
> > > This patch fixes the missed "uint8_t *" to "const uint8_t *" xform key 
> > > data type change for mvsam driver.
> > > 
> > > Fixes: f3390532cf6a ("cryptodev: make xform key pointer constant")
> > > 
> > > Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> > > ---
> > Based on Fan's comments
> > 
> > acked-by: Liron Himi <lironh at marvell.com>
> 
> So we are OK to merge this patch with
> "cryptodev: make xform key pointer constant"
> in next-crypto tree?

There is still a compilation error:

drivers/crypto/mvsam/rte_mrvl_pmd.c:267:41: error:
	incompatible type for argument 2 of 'memcpy'
  memcpy(cipher_key, cipher_xform->cipher.key,
                     ~~~~~~~~~~~~~~~~~~~~^~~~

Seen when compiling arm64-thunderx-linux-gcc




More information about the dev mailing list