Re: [PATCH 3/3] lightnvm: rename dma helper functions
From: Javier GonzÃlez
Date: Wed Apr 27 2016 - 16:17:20 EST
>> if (dev->ops->max_phys_sect > 1) {
>> - dev->ppalist_pool = dev->ops->create_dma_pool(dev, "ppalist");
>> - if (!dev->ppalist_pool) {
>> + dev->dma_page_pool = dev->ops->create_dma_pool(dev, "ppalist");
>
> rename to dmapool or something similar?
>
>> + if (!dev->dma_page_pool) {
>> pr_err("nvm: could not create ppa pool\n");
>
> Make sure to fix up the text here as well. Else it looks good.
>
>> ret = -ENOMEM;
>
Thanks. I'll fix it and resubmit tomorrow.
Javier.