We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c5e6b6 commit 7a960b3Copy full SHA for 7a960b3
drivers/message/fusion/mptsas.c
@@ -2896,7 +2896,8 @@ mptsas_exp_repmanufacture_info(MPT_ADAPTER *ioc,
2896
2897
sz = sizeof(struct rep_manu_request) + sizeof(struct rep_manu_reply);
2898
2899
- data_out = pci_alloc_consistent(ioc->pcidev, sz, &data_out_dma);
+ data_out = dma_alloc_coherent(&ioc->pcidev->dev, sz, &data_out_dma,
2900
+ GFP_KERNEL);
2901
if (!data_out) {
2902
printk(KERN_ERR "Memory allocation failure at %s:%d/%s()!\n",
2903
__FILE__, __LINE__, __func__);
0 commit comments