Hi arend.vanspriel, > > ---------------------------------------------------------------------- > On 5/16/2018 3:50 PM, Kalle Valo wrote: > > Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> writes: > > > >> Since commit 3c47d19ff4dc ("drivers: base: add coredump driver ops") > >> it is possible to initiate a device coredump from user-space. This > >> patch adds support for it adding the .coredump() driver callback. > >> As there is no longer a need to initiate it through debugfs remove > >> that code. > >> > >> Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> > >> --- > >> V2: > >> - export mwifiex_send_cmd() needed by mwifiex_usb.ko. > >> --- > >> drivers/net/wireless/marvell/mwifiex/cmdevt.c | 1 + > >> drivers/net/wireless/marvell/mwifiex/debugfs.c | 31 +---------------------- > --- > >> drivers/net/wireless/marvell/mwifiex/pcie.c | 18 +++++++++++++-- > >> drivers/net/wireless/marvell/mwifiex/sdio.c | 12 ++++++++++ > >> drivers/net/wireless/marvell/mwifiex/usb.c | 13 +++++++++++ > >> 5 files changed, 43 insertions(+), 32 deletions(-) > > > > You forgot to CC mwifiex maintainers, doing it now. Full patch here: > > > > https://patchwork.kernel.org/patch/10403717/ > > Thanks, Kalle > > You would almost think I am not used to submit patches for drivers I do not > actively maintain ;-) > > Gr. AvS In V2: return ret; } +EXPORT_SYMBOL_GPL(mwifiex_send_cmd); Instead of exporting 'mwifiex_send_cmd' we can prepare a wrapper for the command 'MWIFIEX_IFACE_WORK_DEVICE_DUMP' in mwifiex module. Let me know if we can send a follow up. Thanks, Ganapathi