]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sgi-xpc: Remove NULL pointer dereference.
authorRobin Holt <holt@sgi.com>
Thu, 29 Jan 2009 22:25:07 +0000 (14:25 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Jan 2009 02:04:43 +0000 (18:04 -0800)
commit17e2161654da4e6bdfd8d53d4f52e820ee93f423
tree73963484f16dc6fdfc2f84200bc40c060a36ce70
parent69b3bb65fa97a1e8563518dbbc35cd57beefb2d4
sgi-xpc: Remove NULL pointer dereference.

If the bte copy fails, the attempt to retrieve payloads merely returns a
null pointer deref and not NULL as was expected.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-xp/xpc_sn2.c