From: Shannon Nelson Date: Tue, 18 Dec 2007 00:20:08 +0000 (-0800) Subject: I/OAT: fix null device in call to dev_err() X-Git-Tag: v2.6.24-rc6~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb8e8bcce7eceacb52eb0a3ebb64202ad6bcc438;p=pandora-kernel.git I/OAT: fix null device in call to dev_err() We can't use the device in a dev_err() after a kzalloc failure or after the kfree, so simplify it to the pdev that was originally passed in. Cc: Eric Sesterhenn Signed-off-by: Shannon Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed