diff options
author | Niklas Cassel <[email protected]> | 2016-12-07 15:20:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-12-08 13:07:10 -0500 |
commit | 89ab75bf7253271c0ca805931105a298bc22bfdf (patch) | |
tree | 3c4fc3caa02e1ebfcc12df284fab152f5674176b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3f0dd6b79c014231e671f754a499aa017c2b955c (diff) |
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 <[email protected]>
Acked-by: Alexandre Torgue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions