diff options
| author | Romain Perier <romain.perier@free-electrons.com> | 2016-06-21 11:08:32 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-23 13:14:00 +0300 |
| commit | f62830886f6b8cb2f1c55e23cb5eab51c4b9ef2c (patch) | |
| tree | 0bac261d8f9d3e60f43ad678c13d15b67002ef1e /include/uapi/linux | |
| parent | e26df73f80290efe5c772d94ac3a3cf2b077fe5b (diff) | |
| download | linux-f62830886f6b8cb2f1c55e23cb5eab51c4b9ef2c.tar.xz | |
crypto: marvell - Check engine is not already running when enabling a req
Add a BUG_ON() call when the driver tries to launch a crypto request
while the engine is still processing the previous one. This replaces
a silent system hang by a verbose kernel panic with the associated
backtrace to let the user know that something went wrong in the CESA
driver.
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
