diff options
author | 2012-07-07 09:22:15 +0000 | |
---|---|---|
committer | 2012-07-19 22:05:25 -0400 | |
commit | 4dbdf0aea9585add9359e7ca5535256f866ec85c (patch) | |
tree | 145d64cae53ae09aa5e74c3774f89cfd3e4a1f25 /tools/perf/scripts/python/syscall-counts.py | |
parent | drm/radeon: Try harder to avoid HW cursor ending on a multiple of 128 columns. (diff) | |
download | linux-dev-4dbdf0aea9585add9359e7ca5535256f866ec85c.tar.xz linux-dev-4dbdf0aea9585add9359e7ca5535256f866ec85c.zip |
drm/mgag200: fix null pointer dereference
we are referencing the pointer after doing alloc_apertures,
as alloc_apertures kzallocs, the kzalloc may fail and we get a NULL.
so we need to check for NULL before we dereference this pointer
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions