The patch titled
I/OAT: fix null device in call to dev_err()
has been added to the -mm tree. Its filename is
i-oat-fix-null-device-in-call-to-dev_err.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: I/OAT: fix null device in call to dev_err()
From: Shannon Nelson <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/dma/ioat_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/dma/ioat_dma.c~i-oat-fix-null-device-in-call-to-dev_err
drivers/dma/ioat_dma.c
--- a/drivers/dma/ioat_dma.c~i-oat-fix-null-device-in-call-to-dev_err
+++ a/drivers/dma/ioat_dma.c
@@ -1363,7 +1363,7 @@ err_completion_pool:
err_dma_pool:
kfree(device);
err_kzalloc:
- dev_err(&device->pdev->dev,
+ dev_err(&pdev->dev,
"Intel(R) I/OAT DMA Engine initialization failed\n");
return NULL;
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
i-oat-fixups-from-code-comments.patch
i-oat-fix-null-device-in-call-to-dev_err.patch
dca-convert-struct-class_device-to-struct-device.patch
add-dma-engine-driver-for-freescale-mpc85xx-processors.patch
add-dma-engine-driver-for-freescale-mpc85xx-processors-fix.patch
add-dma-engine-driver-for-freescale-mpc85xx-processors-fix-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html