Re: [PATCH] mwifiex: Clean up some err and dbg messages

2020-08-27 Thread Kalle Valo
Christophe JAILLET wrote: > 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. > >

[PATCH] mwifiex: Clean up some err and dbg messages

2020-08-19 Thread Christophe JAILLET
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 mess