mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-12 03:58:47 +01:00
crypto/fsl: Fix RNG instantiation failure.
Corrected the order of arguments in memset in run_descriptor function. Wrong order of argumnets led to improper initialization of members of struct type result. This resulted in RNG instantiation error. Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
2a8b34220d
commit
851c9dbad2
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ int run_descriptor_jr(uint32_t *desc)
|
|||
struct result op;
|
||||
int ret = 0;
|
||||
|
||||
memset(&op, sizeof(op), 0);
|
||||
memset(&op, 0, sizeof(op));
|
||||
|
||||
ret = jr_enqueue(desc, desc_done, &op);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue