diff options
| author | Andrey Utkin <[email protected]> | 2014-07-10 09:32:25 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-07-17 20:05:38 -0300 |
| commit | 599bc36a79dc03c18360d9b5bc08c18a6dde323e (patch) | |
| tree | 24519d0f3cb9b4e6beb399971aa1042c1cbebe20 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a0f7fe5b14b4c031810aae06a9cbcee3bea00a65 (diff) | |
[media] media: pvrusb2: make logging code sane
The issue was discovered by static analysis. It turns out that code is
somewhat insane, being
if (x) {...} else { if (x) {...} }
Edited it to do the only reasonable thing, which is to log the
information about the failed call. The most descriptive logging commands
set is taken from original code.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=79801
Reported-by: David Binderman <[email protected]>
Signed-off-by: Andrey Utkin <[email protected]>
Acked-by: Mike Isely <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions