]> 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)
commitc8fd9c14aec6b041617bdbc79239784a8e94716f
tree587b7990748f1f2b9e9ec3e89300ed71812f69eb
parente4ce6eea2a88b2a7505930c2ad878af1837f40bf
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