All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Alison Schofield <amsfield22@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v2 1/5] staging: r8723au: break parameter list at separators and align to open braces
Date: Sat, 24 Oct 2015 19:40:29 -0700	[thread overview]
Message-ID: <20151025024029.GA16589@kroah.com> (raw)
In-Reply-To: <d49b2db25364b18631d33f0a0e27d5396ae20f79.1445402009.git.amsfield22@gmail.com>

On Tue, Oct 20, 2015 at 11:01:58PM -0700, Alison Schofield wrote:
> Improve readability by aligning the struct cmd_hdl wlancmds[] to fit
> within 80 chars and cleaning up the adjacent index comments.
> 
> Addresses checkpatch.pl WARNING: line over 80 characters
> 
> Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> ---
>  drivers/staging/rtl8723au/core/rtw_cmd.c | 64 +++++++++++++++++++-------------
>  1 file changed, 38 insertions(+), 26 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c
> index 46aea16..c3579ac 100644
> --- a/drivers/staging/rtl8723au/core/rtw_cmd.c
> +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c
> @@ -22,7 +22,7 @@
>  #include <rtw_sreset.h>
>  
>  static struct cmd_hdl wlancmds[] = {
> -	GEN_DRV_CMD_HANDLER(0, NULL) /*0*/
> +	GEN_DRV_CMD_HANDLER(0, NULL)					/*0*/
>  	GEN_DRV_CMD_HANDLER(0, NULL)
>  	GEN_DRV_CMD_HANDLER(0, NULL)
>  	GEN_DRV_CMD_HANDLER(0, NULL)
> @@ -32,18 +32,26 @@ static struct cmd_hdl wlancmds[] = {
>  	GEN_MLME_EXT_HANDLER(0, NULL)
>  	GEN_MLME_EXT_HANDLER(0, NULL)
>  	GEN_MLME_EXT_HANDLER(0, NULL)
> -	GEN_MLME_EXT_HANDLER(0, NULL) /*10*/
> +	GEN_MLME_EXT_HANDLER(0, NULL)					/*10*/
>  	GEN_MLME_EXT_HANDLER(0, NULL)
>  	GEN_MLME_EXT_HANDLER(0, NULL)
>  	GEN_MLME_EXT_HANDLER(0, NULL)
> -	GEN_MLME_EXT_HANDLER(sizeof(struct wlan_bssid_ex), join_cmd_hdl23a) /*14*/
> -	GEN_MLME_EXT_HANDLER(sizeof(struct disconnect_parm), disconnect_hdl23a)
> -	GEN_MLME_EXT_HANDLER(sizeof(struct wlan_bssid_ex), createbss_hdl23a)
> -	GEN_MLME_EXT_HANDLER(sizeof(struct setopmode_parm), setopmode_hdl23a)
> -	GEN_MLME_EXT_HANDLER(sizeof(struct sitesurvey_parm), sitesurvey_cmd_hdl23a) /*18*/
> -	GEN_MLME_EXT_HANDLER(sizeof(struct setauth_parm), setauth_hdl23a)
> -	GEN_MLME_EXT_HANDLER(sizeof(struct setkey_parm), setkey_hdl23a) /*20*/
> -	GEN_MLME_EXT_HANDLER(sizeof(struct set_stakey_parm), set_stakey_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct wlan_bssid_ex),
> +			     join_cmd_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct disconnect_parm),
> +			     disconnect_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct wlan_bssid_ex),
> +			     createbss_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct setopmode_parm),
> +			     setopmode_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct sitesurvey_parm),
> +			     sitesurvey_cmd_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct setauth_parm),
> +			     setauth_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct setkey_parm),		/*20*/
> +			     setkey_hdl23a)
> +	GEN_MLME_EXT_HANDLER(sizeof(struct set_stakey_parm),
> +			     set_stakey_hdl23a)


This seems harder to read to me than before, how about you?



  reply	other threads:[~2015-10-25  8:36 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 19:57 [PATCH 0/5] staging: r8723au: fix multiple checkpatch issues Alison Schofield
2015-10-19 19:58 ` [PATCH 1/5] staging: r8723au: break parameter list at separators and align to open braces Alison Schofield
2015-10-19 19:59 ` [PATCH 2/5] staging: r8723au: replace printk() with pr_err() Alison Schofield
2015-10-19 20:09   ` [Outreachy kernel] " Julia Lawall
2015-10-21  5:51     ` Alison Schofield
2015-10-19 20:00 ` [PATCH 3/5] staging: r8723au: use kernel preferred style for block comments Alison Schofield
2015-10-19 20:07   ` [Outreachy kernel] " Julia Lawall
2015-10-20  2:29     ` Alison Schofield
2015-10-20  5:08       ` Julia Lawall
2015-10-19 20:02 ` [PATCH 4/5] staging: r8723au: move constant to right of comparison test Alison Schofield
2015-10-19 20:06   ` [Outreachy kernel] " Julia Lawall
2015-10-19 20:45     ` Alison Schofield
     [not found]     ` <20151019203548.GA23803@Ubuntu-D830>
     [not found]       ` <alpine.DEB.2.02.1510192241110.2034@localhost6.localdomain6>
2015-10-20  2:34         ` Alison Schofield
2015-10-19 20:11 ` [PATCH 5/5] staging: r8723au: add & use local variable to simplify references Alison Schofield
2015-10-21  5:57 ` [PATCH v2 0/5] staging: r8723au: fix multiple checkpatch issues Alison Schofield
2015-10-21  6:01   ` [PATCH v2 1/5] staging: r8723au: break parameter list at separators and align to open braces Alison Schofield
2015-10-25  2:40     ` Greg KH [this message]
2015-10-26  3:07       ` [Outreachy kernel] " Alison Schofield
2015-10-27  5:44         ` Greg KH
2015-11-08 21:58           ` Jes Sorensen
2015-10-21  6:06   ` [PATCH v2 2/5] staging: r8723au: replace printk() with netdev_err() Alison Schofield
2015-10-21  6:08   ` [PATCH v2 3/5] staging: r8723au: move constant to right of comparison test Alison Schofield
2015-10-21  6:09   ` [PATCH v2 4/5] staging: r8723au: add & use local variable to simplify references Alison Schofield
2015-10-21  6:10   ` [PATCH v2 5/5] staging: r8723au: use kernel preferred style for commenting Alison Schofield
2015-10-25  2:41     ` [Outreachy kernel] " Greg KH
2015-10-26  3:12       ` Alison Schofield
2015-10-27  5:45         ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151025024029.GA16589@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=amsfield22@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.