All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] staging: wlan-ng: Fix line going over 80 characters
@ 2020-03-16 22:15 John B. Wyatt IV
  2020-03-17 13:02 ` [Outreachy kernel] " Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: John B. Wyatt IV @ 2020-03-16 22:15 UTC (permalink / raw)
  To: outreachy-kernel, Julia Lawall, Stefano Brivio, Greg Kroah-Hartman
  Cc: John B. Wyatt IV

Add a newline before the second argument for style, readability, and
consistency.

Please note: checkpatch reports the third argument as being over 80
characters, but not the second argument.

Signed-off-by: John B. Wyatt IV <jbwyatt4@gmail.com>
---
v3: Fixed comment misspelling as suggested by Julia Lawall <julia.lawall@inria.fr>
    Also fixed missing colon ':'

v2: Fixed comment to be in the imperative as suggested by Julia Lawall <julia.lawall@inria.fr>

 drivers/staging/wlan-ng/hfa384x_usb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index b71756ab0394..f8485601aead 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -3317,7 +3317,8 @@ static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb)
 		break;
 
 	default:
-		netdev_warn(hw->wlandev->netdev, "Received frame on unsupported port=%d\n",
+		netdev_warn(hw->wlandev->netdev,
+			    "Received frame on unsupported port=%d\n",
 			    HFA384x_RXSTATUS_MACPORT_GET(usbin->rxfrm.desc.status));
 		break;
 	}
-- 
2.25.1



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

* Re: [Outreachy kernel] [PATCH v3] staging: wlan-ng: Fix line going over 80 characters
  2020-03-16 22:15 [PATCH v3] staging: wlan-ng: Fix line going over 80 characters John B. Wyatt IV
@ 2020-03-17 13:02 ` Stefano Brivio
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2020-03-17 13:02 UTC (permalink / raw)
  To: John B. Wyatt IV; +Cc: outreachy-kernel, Julia Lawall, Greg Kroah-Hartman

On Mon, 16 Mar 2020 15:15:44 -0700
"John B. Wyatt IV" <jbwyatt4@gmail.com> wrote:

> Add a newline before the second argument for style, readability, and
> consistency.
> 
> Please note: checkpatch reports the third argument as being over 80
> characters, but not the second argument.
> 
> Signed-off-by: John B. Wyatt IV <jbwyatt4@gmail.com>
> ---
> v3: Fixed comment misspelling as suggested by Julia Lawall <julia.lawall@inria.fr>
>     Also fixed missing colon ':'
> 
> v2: Fixed comment to be in the imperative as suggested by Julia Lawall <julia.lawall@inria.fr>

Reviewed-by: Stefano Brivio <sbrivio@redhat.com>

...but, please, don't forget about the unnecessary
HFA384x_RXSTATUS_MACPORT_GET() duplication here.

-- 
Stefano



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

end of thread, other threads:[~2020-03-17 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 22:15 [PATCH v3] staging: wlan-ng: Fix line going over 80 characters John B. Wyatt IV
2020-03-17 13:02 ` [Outreachy kernel] " Stefano Brivio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.