All of lore.kernel.org
 help / color / mirror / Atom feed
From: josh@joshtriplett.org
To: Johannes Stadlinger <Johannes.Stadlinger@fau.de>
Cc: devel@linuxdriverproject.org,
	Maximilian Eschenbacher <maximilian@eschenbacher.email>,
	linux-kernel@i4.cs.fau.de,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Himangi Saraogi <himangi774@gmail.com>,
	Vitaly Osipov <vitaly.osipov@gmail.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/8] wlan-ng/prism2mgmt:checkpatch: Fix string split
Date: Thu, 19 Jun 2014 13:09:47 -0700	[thread overview]
Message-ID: <20140619200947.GA16404@cloud> (raw)
In-Reply-To: <1403205620-10219-2-git-send-email-Johannes.Stadlinger@fau.de>

On Thu, Jun 19, 2014 at 09:20:14PM +0200, Johannes Stadlinger wrote:
> This patch fixes all warnings of checkpatch about string splitting.
> 
> Signed-off-by: Johannes Stadlinger <Johannes.Stadlinger@fau.de>
> Signed-off-by: Maximilian Eschenbacher <maximilian@eschenbacher.email>
> CC: linux-kernel@i4.cs.fau.de
> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> CC: Himangi Saraogi <himangi774@gmail.com>
> CC: Josh Triplett <josh@joshtriplett.org>
> CC: Vitaly Osipov <vitaly.osipov@gmail.com>
> CC: devel@driverdev.osuosl.org
> CC: linux-kernel@vger.kernel.org

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

>  drivers/staging/wlan-ng/prism2mgmt.c | 26 ++++++++++----------------
>  1 file changed, 10 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
> index 36a3e1a..f90f7da 100644
> --- a/drivers/staging/wlan-ng/prism2mgmt.c
> +++ b/drivers/staging/wlan-ng/prism2mgmt.c
> @@ -178,8 +178,7 @@ int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp)
>  					     word);
>  		if (result) {
>  			netdev_warn(wlandev->netdev,
> -				    "Passive scan not supported with "
> -				    "current firmware.  (<1.5.1)\n");
> +				    "Passive scan not supported with current firmware.  (<1.5.1)\n");
>  		}
>  	}
>  
> @@ -381,8 +380,7 @@ int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp)
>  
>  	if (!hw->scanresults) {
>  		netdev_err(wlandev->netdev,
> -			   "dot11req_scan_results can only be used after "
> -			   "a successful dot11req_scan.\n");
> +			   "dot11req_scan_results can only be used after a successful dot11req_scan.\n");
>  		result = 2;
>  		req->resultcode.data = P80211ENUM_resultcode_invalid_parameters;
>  		goto exit;
> @@ -733,8 +731,8 @@ int prism2mgmt_readpda(wlandevice_t *wlandev, void *msgp)
>  					      HFA384x_PDA_LEN_MAX);
>  		if (result) {
>  			netdev_err(wlandev->netdev,
> -				   "hfa384x_drvr_readpda() failed, "
> -				   "result=%d\n", result);
> +				   "hfa384x_drvr_readpda() failed, result=%d\n",
> +				   result);
>  
>  			msg->resultcode.data =
>  			    P80211ENUM_resultcode_implementation_failure;
> @@ -782,8 +780,7 @@ int prism2mgmt_ramdl_state(wlandevice_t *wlandev, void *msgp)
>  
>  	if (wlandev->msdstate != WLAN_MSD_FWLOAD) {
>  		netdev_err(wlandev->netdev,
> -			   "ramdl_state(): may only be called "
> -			   "in the fwload state.\n");
> +			   "ramdl_state(): may only be called in the fwload state.\n");
>  		msg->resultcode.data =
>  		    P80211ENUM_resultcode_implementation_failure;
>  		msg->resultcode.status = P80211ENUM_msgitem_status_data_ok;
> @@ -841,8 +838,7 @@ int prism2mgmt_ramdl_write(wlandevice_t *wlandev, void *msgp)
>  
>  	if (wlandev->msdstate != WLAN_MSD_FWLOAD) {
>  		netdev_err(wlandev->netdev,
> -			   "ramdl_write(): may only be called "
> -			   "in the fwload state.\n");
> +			   "ramdl_write(): may only be called in the fwload state.\n");
>  		msg->resultcode.data =
>  		    P80211ENUM_resultcode_implementation_failure;
>  		msg->resultcode.status = P80211ENUM_msgitem_status_data_ok;
> @@ -901,8 +897,7 @@ int prism2mgmt_flashdl_state(wlandevice_t *wlandev, void *msgp)
>  
>  	if (wlandev->msdstate != WLAN_MSD_FWLOAD) {
>  		netdev_err(wlandev->netdev,
> -			   "flashdl_state(): may only be called "
> -			   "in the fwload state.\n");
> +			   "flashdl_state(): may only be called in the fwload state.\n");
>  		msg->resultcode.data =
>  		    P80211ENUM_resultcode_implementation_failure;
>  		msg->resultcode.status = P80211ENUM_msgitem_status_data_ok;
> @@ -936,8 +931,8 @@ int prism2mgmt_flashdl_state(wlandevice_t *wlandev, void *msgp)
>  		result = prism2sta_ifstate(wlandev, P80211ENUM_ifstate_fwload);
>  		if (result != P80211ENUM_resultcode_success) {
>  			netdev_err(wlandev->netdev,
> -				   "prism2sta_ifstate(fwload) failed,"
> -				   "P80211ENUM_resultcode=%d\n", result);
> +				   "prism2sta_ifstate(fwload) failed, P80211ENUM_resultcode=%d\n",
> +				   result);
>  			msg->resultcode.data =
>  			    P80211ENUM_resultcode_implementation_failure;
>  			result = -1;
> @@ -975,8 +970,7 @@ int prism2mgmt_flashdl_write(wlandevice_t *wlandev, void *msgp)
>  
>  	if (wlandev->msdstate != WLAN_MSD_FWLOAD) {
>  		netdev_err(wlandev->netdev,
> -			   "flashdl_write(): may only be called "
> -			   "in the fwload state.\n");
> +			   "flashdl_write(): may only be called in the fwload state.\n");
>  		msg->resultcode.data =
>  		    P80211ENUM_resultcode_implementation_failure;
>  		msg->resultcode.status = P80211ENUM_msgitem_status_data_ok;
> -- 
> 1.9.1
> 

  reply	other threads:[~2014-06-19 20:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 19:20 [PATCH 1/8] wlan-ng/prism2mgmt:checkpatch: Fix long lines Johannes Stadlinger
2014-06-19 19:20 ` [PATCH 2/8] wlan-ng/prism2mgmt:checkpatch: Fix string split Johannes Stadlinger
2014-06-19 20:09   ` josh [this message]
2014-06-19 19:20 ` [PATCH 3/8] wlan-ng/prism2mgmt:checkpatch: Insert blank line Johannes Stadlinger
2014-06-19 20:11   ` josh
2014-06-20  8:14     ` Dan Carpenter
2014-06-19 19:20 ` [PATCH 4/8] wlan-ng/prism2mib:checkpatch: Fix string split Johannes Stadlinger
2014-06-19 20:12   ` josh
2014-06-19 19:20 ` [PATCH 5/8] wlan-ng/prism2mib:checkpatch: Insert blank lines Johannes Stadlinger
2014-06-19 20:14   ` josh
2014-06-19 20:25     ` Joe Perches
2014-06-19 19:20 ` [PATCH 6/8] wlan-ng/prism2sta:checkpatch: Fix long lines Johannes Stadlinger
2014-06-19 20:19   ` josh
2014-06-19 20:22   ` Joe Perches
2014-06-19 19:20 ` [PATCH 7/8] wlan-ng/prism2sta:checkpatch: Fix string split Johannes Stadlinger
2014-06-19 20:20   ` josh
2014-06-19 19:20 ` [PATCH 8/8] wlan-ng/prism2sta:checkpatch: Insert blank lines Johannes Stadlinger
2014-06-19 20:20   ` josh

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=20140619200947.GA16404@cloud \
    --to=josh@joshtriplett.org \
    --cc=Johannes.Stadlinger@fau.de \
    --cc=devel@driverdev.osuosl.org \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=himangi774@gmail.com \
    --cc=linux-kernel@i4.cs.fau.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maximilian@eschenbacher.email \
    --cc=vitaly.osipov@gmail.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.