diff options
author | Tim Gardner <[email protected]> | 2013-02-11 14:34:32 -0700 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2013-02-20 08:51:19 -0500 |
commit | 0e34d0945ed16aeb72c863be4efe4cd0c62f9c53 (patch) | |
tree | acc055d3c3fd2c4ec2972b7d5d16a729097e670f /tools/perf/scripts/python/net_dropmonitor.py | |
parent | c944b2abb067130542055666f23409fd5e1afc8e (diff) |
drm/radeon: Avoid NULL pointer dereference from atom_index_iio() allocation failure
Smatch anlysis:
drivers/gpu/drm/radeon/atom.c:1242 atom_index_iio() error: potential null
dereference 'ctx->iio'. (kzalloc returns null)
Also cleaned up some checks before calls to kfree(). kfree(NULL) is OK.
Cc: David Airlie <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Michel Dänzer" <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: [email protected]
Signed-off-by: Tim Gardner <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions