staging: rtl8188eu: cmdThread is a task_struct
authorMartin Kaiser <martin@kaiser.cx>
Mon, 19 Apr 2021 20:11:25 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 08:42:23 +0000 (10:42 +0200)
cmdThread is the return value of kthread_run, i.e. a struct task_struct.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210419201126.25633-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/drv_types.h

index 0a3acb3..4116051 100644 (file)
@@ -150,7 +150,7 @@ struct adapter {
 
        u8      hw_init_completed;
 
-       void *cmdThread;
+       struct task_struct *cmdThread;
        struct  net_device *pnetdev;
        struct  net_device *pmondev;