diff options
author | Taylor Hutt <[email protected]> | 2011-05-17 18:03:54 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2011-05-18 09:33:27 -0700 |
commit | 539494253547d078089cc15490e83f6e5f2e7213 (patch) | |
tree | a7403953e75a747ab85f896f93e9e5b464efe225 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 34e268d87d60da7968d7300aae7d575be9d16ae7 (diff) |
ASoC: Max98095: Move existing NULL check before pointer dereference.
Visual inspection shows that max98095_put_eq_enum() and
max98095_put_bq_enum() each have a possible NULL deref of 'pdata'.
This change moves the NULL check above the use.
Signed-off-by: Taylor Hutt <[email protected]>
Acked-by: Peter Hsiang <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions