From: Martin Kaiser Date: Mon, 19 Apr 2021 20:11:25 +0000 (+0200) Subject: staging: rtl8188eu: cmdThread is a task_struct X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=94ed1611aaf53d81e46a23b4e965346ebe38fea7;p=linux.git staging: rtl8188eu: cmdThread is a task_struct cmdThread is the return value of kthread_run, i.e. a struct task_struct. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20210419201126.25633-3-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 0a3acb378d6dc..4116051a9a654 100644 --- a/drivers/staging/rtl8188eu/include/drv_types.h +++ b/drivers/staging/rtl8188eu/include/drv_types.h @@ -150,7 +150,7 @@ struct adapter { u8 hw_init_completed; - void *cmdThread; + struct task_struct *cmdThread; struct net_device *pnetdev; struct net_device *pmondev;