]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] sbp2: fix check of return value of hpsb_allocate_and_register_addrspace
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 3 Jun 2006 00:00:33 +0000 (02:00 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Jun 2006 17:18:15 +0000 (10:18 -0700)
commitfb0a8c49132586bfe44e437ccfae960ad7988fc8
tree819350050a5646bdbeef366baf7f941968d9910d
parent9e5bd023df09e57692a87aba78d9ddee1888a559
[PATCH] sbp2: fix check of return value of hpsb_allocate_and_register_addrspace

I added a failure check in patch "sbp2: variable status FIFO address
(fix login timeout)" --- alas for a wrong error value.  This is a bug
since Linux 2.6.16.  Leads to NULL pointer dereference if the call
failed, and bogus failure handling if call succeeded.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/ieee1394/sbp2.c