linux/drivers/gpu/drm/mgag200
Devendra Naga 4dbdf0aea9 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>
2012-07-19 22:05:25 -04:00
..
Kconfig drm/kms: fix Kconfig for new drivers. 2012-05-20 10:10:53 +01:00
Makefile
mgag200_drv.c drm/mgag200: fix null pointer dereference 2012-07-19 22:05:25 -04:00
mgag200_drv.h
mgag200_fb.c
mgag200_i2c.c
mgag200_main.c
mgag200_mode.c drm: Make the .mode_fixup() operations mode argument a const pointer 2012-07-19 21:52:38 -04:00
mgag200_reg.h
mgag200_ttm.c drm: update ast/cirrus/mgag200 for change in TTM api 2012-05-23 14:08:41 +01:00