diff options
Diffstat (limited to 'drivers/dma/ioatdma.c')
-rw-r--r-- | drivers/dma/ioatdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c index 0358419a0e48..8e8726104619 100644 --- a/drivers/dma/ioatdma.c +++ b/drivers/dma/ioatdma.c | |||
@@ -636,10 +636,10 @@ static int ioat_self_test(struct ioat_device *device) | |||
636 | dma_cookie_t cookie; | 636 | dma_cookie_t cookie; |
637 | int err = 0; | 637 | int err = 0; |
638 | 638 | ||
639 | src = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, SLAB_KERNEL); | 639 | src = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, GFP_KERNEL); |
640 | if (!src) | 640 | if (!src) |
641 | return -ENOMEM; | 641 | return -ENOMEM; |
642 | dest = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, SLAB_KERNEL); | 642 | dest = kzalloc(sizeof(u8) * IOAT_TEST_SIZE, GFP_KERNEL); |
643 | if (!dest) { | 643 | if (!dest) { |
644 | kfree(src); | 644 | kfree(src); |
645 | return -ENOMEM; | 645 | return -ENOMEM; |