diff options
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | 2017-07-20 16:35:49 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-03 13:47:23 +0800 |
commit | 6d2bce6a15753710836f99054826d5ae638dd04a (patch) | |
tree | de24259bdbfaef700e51e3aa0373b67cc2a307e4 /drivers/spi | |
parent | 952035baedb15d956d5f25b34287d728c751cac9 (diff) | |
download | linux-6d2bce6a15753710836f99054826d5ae638dd04a.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions