public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325
@ 2024-08-26 21:48 Gabriel Tassinari
  2024-08-27  4:53 ` Philipp Hortmann
  2024-08-29  9:52 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 3+ messages in thread
From: Gabriel Tassinari @ 2024-08-26 21:48 UTC (permalink / raw)
  To: linux-staging, linux-kernel, Greg Kroah-Hartman, ~lkcamp/patches

fix parenthesis alignment in _rtl92e_qos_handle_probe_response to
silence checkpatch warning:

CHECK: Alignment should match open parenthesis

Signed-off-by: Gabriel Tassinari <gabrieldtassinari@gmail.com>
---
v3: Adjust the indentation by adding one space
v2: Include the modified file in commit message
---
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index ad21263e725f..75192041008d 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -322,7 +322,7 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
 
 	if (network->flags & NETWORK_HAS_QOS_MASK) {
 		if (active_network &&
-				(network->flags & NETWORK_HAS_QOS_PARAMETERS))
+		    (network->flags & NETWORK_HAS_QOS_PARAMETERS))
 			network->qos_data.active = network->qos_data.supported;
 
 		if ((network->qos_data.active == 1) && (active_network == 1) &&
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325
  2024-08-26 21:48 [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325 Gabriel Tassinari
@ 2024-08-27  4:53 ` Philipp Hortmann
  2024-08-29  9:52 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Philipp Hortmann @ 2024-08-27  4:53 UTC (permalink / raw)
  To: Gabriel Tassinari, linux-staging, linux-kernel,
	Greg Kroah-Hartman, ~lkcamp/patches

On 8/26/24 23:48, Gabriel Tassinari wrote:
> fix parenthesis alignment in _rtl92e_qos_handle_probe_response to
> silence checkpatch warning:
> 
> CHECK: Alignment should match open parenthesis
> 
> Signed-off-by: Gabriel Tassinari <gabrieldtassinari@gmail.com>
> ---
> v3: Adjust the indentation by adding one space
> v2: Include the modified file in commit message
> ---
>   drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> index ad21263e725f..75192041008d 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> @@ -322,7 +322,7 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
>   
>   	if (network->flags & NETWORK_HAS_QOS_MASK) {
>   		if (active_network &&
> -				(network->flags & NETWORK_HAS_QOS_PARAMETERS))
> +		    (network->flags & NETWORK_HAS_QOS_PARAMETERS))
>   			network->qos_data.active = network->qos_data.supported;
>   
>   		if ((network->qos_data.active == 1) && (active_network == 1) &&


Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325
  2024-08-26 21:48 [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325 Gabriel Tassinari
  2024-08-27  4:53 ` Philipp Hortmann
@ 2024-08-29  9:52 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2024-08-29  9:52 UTC (permalink / raw)
  To: Gabriel Tassinari; +Cc: linux-staging, linux-kernel, ~lkcamp/patches

On Mon, Aug 26, 2024 at 06:48:53PM -0300, Gabriel Tassinari wrote:
> fix parenthesis alignment in _rtl92e_qos_handle_probe_response to
> silence checkpatch warning:
> 
> CHECK: Alignment should match open parenthesis
> 
> Signed-off-by: Gabriel Tassinari <gabrieldtassinari@gmail.com>

Please do not put line numbers in the subject line.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-29  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 21:48 [PATCH v3] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325 Gabriel Tassinari
2024-08-27  4:53 ` Philipp Hortmann
2024-08-29  9:52 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox