diff options
author | 2016-12-07 15:20:03 +0100 | |
---|---|---|
committer | 2016-12-08 13:07:10 -0500 | |
commit | 89ab75bf7253271c0ca805931105a298bc22bfdf (patch) | |
tree | 3c4fc3caa02e1ebfcc12df284fab152f5674176b /tools/perf/scripts/python | |
parent | net: ethernet: slicoss: use module_pci_driver() (diff) | |
download | linux-dev-89ab75bf7253271c0ca805931105a298bc22bfdf.tar.xz linux-dev-89ab75bf7253271c0ca805931105a298bc22bfdf.zip |
net: stmmac: return error if no DMA configuration is found
All drivers except pci glue layer calls stmmac_probe_config_dt.
stmmac_probe_config_dt does a kzalloc dma_cfg.
pci glue layer does kzalloc dma_cfg explicitly, so all current
drivers does a kzalloc dma_cfg.
Return an error if no DMA configuration is found, that way
we can assume that the DMA configuration always exists.
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Acked-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions