* [PATCH v2] staging: rtl8712: Align parenthesis in usb_ops_linux.c
@ 2024-08-28 8:29 Dorine Tipo
2024-08-28 18:48 ` Philipp Hortmann
0 siblings, 1 reply; 2+ messages in thread
From: Dorine Tipo @ 2024-08-28 8:29 UTC (permalink / raw)
To: Florian Schilhabel, Greg Kroah-Hartman, linux-staging,
linux-kernel
Cc: Philipp Hortmann
Fix the parenthesis alignment in r8712_read_port() function to match
the opening parenthesis.
This improves code readability and adheres to the kernel coding style.
Signed-off-by: Dorine Tipo <dorine.a.tipo@gmail.com>
---
Changelog:
V2: Edited the subject line to fix a typo and make it more unique as
suggested by Philipp.
Edited the description to include the reason for the change.
drivers/staging/rtl8712/usb_ops_linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8712/usb_ops_linux.c b/drivers/staging/rtl8712/usb_ops_linux.c
index 0a3451cdc8a1..4a34824830e3 100644
--- a/drivers/staging/rtl8712/usb_ops_linux.c
+++ b/drivers/staging/rtl8712/usb_ops_linux.c
@@ -221,7 +221,7 @@ static void r8712_usb_read_port_complete(struct urb *purb)
fallthrough;
case -EPROTO:
r8712_read_port(padapter, precvpriv->ff_hwaddr, 0,
- (unsigned char *)precvbuf);
+ (unsigned char *)precvbuf);
break;
case -EINPROGRESS:
netdev_err(padapter->pnetdev, "ERROR: URB IS IN PROGRESS!\n");
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] staging: rtl8712: Align parenthesis in usb_ops_linux.c
2024-08-28 8:29 [PATCH v2] staging: rtl8712: Align parenthesis in usb_ops_linux.c Dorine Tipo
@ 2024-08-28 18:48 ` Philipp Hortmann
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Hortmann @ 2024-08-28 18:48 UTC (permalink / raw)
To: Dorine Tipo, Florian Schilhabel, Greg Kroah-Hartman,
linux-staging, linux-kernel
On 8/28/24 10:29, Dorine Tipo wrote:
> Fix the parenthesis alignment in r8712_read_port() function to match
> the opening parenthesis.
> This improves code readability and adheres to the kernel coding style.
>
> Signed-off-by: Dorine Tipo <dorine.a.tipo@gmail.com>
> ---
> Changelog:
> V2: Edited the subject line to fix a typo and make it more unique as
> suggested by Philipp.
> Edited the description to include the reason for the change.
>
> drivers/staging/rtl8712/usb_ops_linux.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/usb_ops_linux.c b/drivers/staging/rtl8712/usb_ops_linux.c
> index 0a3451cdc8a1..4a34824830e3 100644
> --- a/drivers/staging/rtl8712/usb_ops_linux.c
> +++ b/drivers/staging/rtl8712/usb_ops_linux.c
> @@ -221,7 +221,7 @@ static void r8712_usb_read_port_complete(struct urb *purb)
> fallthrough;
> case -EPROTO:
> r8712_read_port(padapter, precvpriv->ff_hwaddr, 0,
> - (unsigned char *)precvbuf);
> + (unsigned char *)precvbuf);
> break;
> case -EINPROGRESS:
> netdev_err(padapter->pnetdev, "ERROR: URB IS IN PROGRESS!\n");
> --
> 2.25.1
>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> AW-NU120
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-28 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 8:29 [PATCH v2] staging: rtl8712: Align parenthesis in usb_ops_linux.c Dorine Tipo
2024-08-28 18:48 ` Philipp Hortmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox