commit | bb8e8bcce7eceacb52eb0a3ebb64202ad6bcc438 | [log] [tgz] |
---|---|---|
author | Shannon Nelson <shannon.nelson@intel.com> | Mon Dec 17 16:20:08 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Dec 17 19:28:17 2007 -0800 |
tree | be4aec4e38ff481f4e65f3af077ef49e7a7a9eac | |
parent | 711924b1052a280bd2452c3babb9816e4a77c723 [diff] |
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 <snakebyte@gmx.de> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>