summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-common/irqpanic.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-01-22 11:20:00 +0300
committerDave Airlie <airlied@redhat.com>2010-02-01 05:49:28 +0300
commit17aafccab4352b422aa01fa6ebf82daff693a5b3 (patch)
treecee643823053ccdaad63ee84e1c0a9e43f233ca0 /arch/blackfin/mach-common/irqpanic.c
parentf71d0187987e691516cd10c2702f002c0e2f0edc (diff)
downloadlinux-17aafccab4352b422aa01fa6ebf82daff693a5b3.tar.xz
drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure.
If radeon_cs_parser_init() fails, radeon_cs_ioctl() calls radeon_cs_parser_fini() with the non-zero error value. The latter dereferenced parser->ib which hasn't been initialized yet -> boom. Add a test for parser->ib being non-NULL before dereferencing it. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/blackfin/mach-common/irqpanic.c')
0 files changed, 0 insertions, 0 deletions