Re: [PATCH v2 6/9] staging: rtl8712: Fixed CamelCase renames xmitThread and recvThread
From: Greg KH
Date: Sun Jun 02 2019 - 13:17:33 EST
On Sun, Jun 02, 2019 at 03:55:35PM +0530, Deepak Mishra wrote:
> This patch fixes CamelCase as reported by checkpatch.pl
> xmitThread renamed to xmit_thread
> recvThread renamed to recv_thread
>
> Signed-off-by: Deepak Mishra <linux.dkm@xxxxxxxxx>
> ---
> drivers/staging/rtl8712/drv_types.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
> index a5060a020b2b..1f8aa0358b77 100644
> --- a/drivers/staging/rtl8712/drv_types.h
> +++ b/drivers/staging/rtl8712/drv_types.h
> @@ -154,8 +154,8 @@ struct _adapter {
> u8 hw_init_completed;
> struct task_struct *cmd_thread;
> pid_t evt_thread;
> - struct task_struct *xmitThread;
> - pid_t recvThread;
> + struct task_struct *xmit_thread;
> + pid_t recv_thread;
> uint (*dvobj_init)(struct _adapter *adapter);
> void (*dvobj_deinit)(struct _adapter *adapter);
> struct net_device *pnetdev;
Again, please just remove the fields entirely.
thanks,
greg k-h