From: Stefan Richter Date: Sun, 4 Jun 2006 09:51:40 +0000 (-0700) Subject: [PATCH] sbp2: fix check of return value of hpsb_allocate_and_register_addrspace() X-Git-Tag: v2.6.17-rc6~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=829a1985e732698ee98def146410e6e9f532781f;p=pandora-kernel.git [PATCH] sbp2: fix check of return value of hpsb_allocate_and_register_addrspace() From: Stefan Richter 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 Cc: Cc: Ben Collins Cc: Jody McIntyre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed