diff options
author | Rajan Vaja <rajan.vaja@xilinx.com> | 2020-05-01 13:52:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-05 13:35:07 +0300 |
commit | 1d9000262b3b80ef6675f35808856073e51be807 (patch) | |
tree | b8e6581629e6f19d3f5816699fc48ee75d2d1c9a /drivers/pnp | |
parent | 56a9a8068637b624f6724f58c6137f4410616558 (diff) | |
download | linux-1d9000262b3b80ef6675f35808856073e51be807.tar.xz |
crypto: xilinx: Handle AES PM API return status
Return value of AES PM API is not handled which may result in
unexpected value of "status" in zynqmp_pm_aes_engine().
Consider "status" value as valid only if AES PM API is successful.
Fixes: bc86f9c54616 ("firmware: xilinx: Remove eemi ops for aes engine")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Link: https://lore.kernel.org/r/1588330354-27942-1-git-send-email-rajan.vaja@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions