diff options
| author | Rui Miguel Silva <rui.silva@linaro.org> | 2018-02-22 17:22:47 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-02 19:03:39 +0300 |
| commit | b85149f6f5d5a9279f29a73b2e95342f4d465e73 (patch) | |
| tree | cd13a2d6b070c0f81346d957288a8c858bc2c6a9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 716c7c32eae4b8a45c4f5602b50453865929b670 (diff) | |
| download | linux-b85149f6f5d5a9279f29a73b2e95342f4d465e73.tar.xz | |
crypto: caam - Fix null dereference at error path
caam_remove already removes the debugfs entry, so we need to remove the one
immediately before calling caam_remove.
This fix a NULL dereference at error paths is caam_probe fail.
Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend support")
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Cc: "Horia Geantă" <horia.geanta@nxp.com>
Cc: Aymen Sghaier <aymen.sghaier@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Cc: <stable@vger.kernel.org> # 4.12+
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
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
