* [PATCH v3] staging: rtl8712: Fix line length exceeding 100 columns
@ 2024-03-21 6:57 Ayush Tiwari
2024-03-21 7:20 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Ayush Tiwari @ 2024-03-21 6:57 UTC (permalink / raw)
To: Larry.Finger, florian.c.schilhabel, gregkh, linux-kernel, linux-staging
Cc: outreachy
Split the argument list of the kthread_run function call across two
lines to address the checkpatch warning "line length exceeds 100
columns".
Signed-off-by: Ayush Tiwari <ayushtiw0110@gmail.com>
---
Changes in v3: fixed the issue in v2, created the patch against
a clean staging tree.
Changes in v2: Fixed the alignment to address checkpatch.pl
warning.
drivers/staging/rtl8712/os_intfs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c
index 7554613fe7e1..1b11f8b04e13 100644
--- a/drivers/staging/rtl8712/os_intfs.c
+++ b/drivers/staging/rtl8712/os_intfs.c
@@ -221,7 +221,8 @@ struct net_device *r8712_init_netdev(void)
static u32 start_drv_threads(struct _adapter *padapter)
{
- padapter->cmd_thread = kthread_run(r8712_cmd_thread, padapter, "%s", padapter->pnetdev->name);
+ padapter->cmd_thread = kthread_run(r8712_cmd_thread, padapter, "%s",
+ padapter->pnetdev->name);
if (IS_ERR(padapter->cmd_thread))
return _FAIL;
return _SUCCESS;
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] staging: rtl8712: Fix line length exceeding 100 columns
2024-03-21 6:57 [PATCH v3] staging: rtl8712: Fix line length exceeding 100 columns Ayush Tiwari
@ 2024-03-21 7:20 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2024-03-21 7:20 UTC (permalink / raw)
To: Ayush Tiwari
Cc: Larry.Finger, florian.c.schilhabel, gregkh, linux-kernel,
linux-staging, outreachy
On Thu, Mar 21, 2024 at 12:27:41PM +0530, Ayush Tiwari wrote:
> Split the argument list of the kthread_run function call across two
> lines to address the checkpatch warning "line length exceeds 100
> columns".
>
> Signed-off-by: Ayush Tiwari <ayushtiw0110@gmail.com>
>
> ---
>
> Changes in v3: fixed the issue in v2, created the patch against
> a clean staging tree.
>
> Changes in v2: Fixed the alignment to address checkpatch.pl
> warning.
Thanks!
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
regards,
dan carpenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-21 7:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 6:57 [PATCH v3] staging: rtl8712: Fix line length exceeding 100 columns Ayush Tiwari
2024-03-21 7:20 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).