diff options
| author | Hans de Goede <[email protected]> | 2017-06-02 17:04:23 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-06-07 12:51:49 -0300 |
| commit | af822177d614f985cb89dcf6e505e2d76a3f3683 (patch) | |
| tree | 4ff78ad68f4ea6bc8ed01153c7d91424f45cdf3f /tools/perf/scripts/python | |
| parent | f1e627a41db14a4bb7bb5ee39486528121ed11c2 (diff) | |
[media] staging: atomisp: Fix endless recursion in hmm_init
hmm_init calls hmm_alloc to set dummy_ptr, hmm_alloc calls
hmm_init when dummy_ptr is not yet set, which is the case in
the call from hmm_init, so it calls hmm_init again, this continues
until we have a stack overflow due to the recursion.
This commit fixes this by adding a separate flag for tracking if
hmm_init has been called. Not pretty, but it gets the job done,
eventually we should be able to remove the hmm_init call from
hmm_alloc.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions