diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-01-03 13:21:22 +0000 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-01-13 00:24:42 +0800 |
| commit | f283148a0774e9b2de5ae4b42bb7dff50410f8cc (patch) | |
| tree | c95be39d2b3901e80484c120a2603556843ba165 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | crypto: picoxcell - Remove spacc_is_compatible() wrapper function (diff) | |
| download | linux-f283148a0774e9b2de5ae4b42bb7dff50410f8cc.tar.gz linux-f283148a0774e9b2de5ae4b42bb7dff50410f8cc.zip | |
crypto: mediatek - don't return garbage err on successful return
In the case where keylen <= bs mtk_sha_setkey returns an uninitialized
return value in err. Fix this by returning 0 instead of err.
Issue detected by static analysis with cppcheck.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
