diff options
| author | Martin Schwidefsky <[email protected]> | 2015-07-24 11:13:30 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2015-07-28 06:59:54 +0000 |
| commit | 17fb874dee093139923af8ed36061faa92cc8e79 (patch) | |
| tree | f2f58fa3ba55fc20a5b6c786e2d32ad62046ce45 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer (diff) | |
| download | kernel-17fb874dee093139923af8ed36061faa92cc8e79.tar.gz kernel-17fb874dee093139923af8ed36061faa92cc8e79.zip | |
hwrng: core - correct error check of kthread_run call
The kthread_run() function can return two different error values
but the hwrng core only checks for -ENOMEM. If the other error
value -EINTR is returned it is assigned to hwrng_fill and later
used on a kthread_stop() call which naturally crashes.
Cc: [email protected]
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
