commit | 6d2bce6a15753710836f99054826d5ae638dd04a | [log] [tgz] |
---|---|---|
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | Thu Jul 20 16:35:49 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Aug 03 13:47:23 2017 +0800 |
tree | de24259bdbfaef700e51e3aa0373b67cc2a307e4 | |
parent | 952035baedb15d956d5f25b34287d728c751cac9 [diff] |
crypto: atmel-ecc - fix signed integer to u8 assignment static checker warning: drivers/crypto/atmel-ecc.c:281 atmel_ecdh_done() warn: assigning (-22) to unsigned variable 'status' Similar warning can be raised in atmel_ecc_work_handler() when atmel_ecc_send_receive() returns an error. Fix this too. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>