]> git.baikalelectronics.ru Git - kernel.git/commit
net: cisco: Fix a function name in comments
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 25 Sep 2021 12:46:28 +0000 (20:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 12:19:36 +0000 (13:19 +0100)
commit41478e37ec37b3f0bff9f39755314165215647ed
tree587b7990748f1f2b9e9ec3e89300ed71812f69eb
parent3520f157ff516ebeff21bb2b00fbbf47650efdd2
net: cisco: Fix a function name in comments

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>
drivers/net/ethernet/cisco/enic/enic_ethtool.c
drivers/net/ethernet/cisco/enic/enic_main.c