Use dma_alloc_coherent() instead of pci_alloc_consistent(),
because only dma_alloc_coherent() is called here.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
        int err;
 
        err = enic_dev_fw_info(enic, &fw_info);
-       /* return only when pci_zalloc_consistent fails in vnic_dev_fw_info
+       /* return only when dma_alloc_coherent fails in vnic_dev_fw_info
         * For other failures, like devcmd failure, we return previously
         * recorded info.
         */
        int err;
 
        err = enic_dev_stats_dump(enic, &vstats);
-       /* return only when pci_zalloc_consistent fails in vnic_dev_stats_dump
+       /* return only when dma_alloc_coherent fails in vnic_dev_stats_dump
         * For other failures, like devcmd failure, we return previously
         * recorded stats.
         */
 
        int err;
 
        err = enic_dev_stats_dump(enic, &stats);
-       /* return only when pci_zalloc_consistent fails in vnic_dev_stats_dump
+       /* return only when dma_alloc_coherent fails in vnic_dev_stats_dump
         * For other failures, like devcmd failure, we return previously
         * recorded stats.
         */