diff options
| author | Christophe JAILLET <[email protected]> | 2020-08-19 09:18:53 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-08-27 12:58:51 +0300 |
| commit | 5f8a3ed38bec0e1bfefcec6b06ba378811bb9952 (patch) | |
| tree | 675103ca8cd9c45ad94eb596144ade0926d8d838 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4cf975f640fefdfdf6168a79e882558478ce057a (diff) | |
mwifiex: Clean up some err and dbg messages
The error message if 'pci_set_consistent_dma_mask()' fails is misleading.
The function call uses 32 bits, but the error message reports 64.
Moreover, according to the comment above 'dma_set_mask_and_coherent()'
definition, such an error can never happen.
So, simplify code, axe the misleading message and use
'dma_set_mask_and_coherent()' instead of 'dma_set_mask()' +
'dma_set_coherent_mask()'
While at it, make some clean-up:
- add # when reporting allocated length to be consistent between
functions
- s/consistent/coherent/
- s/unsigned int/u32/ to be consistent between functions
- align some code
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions