All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sherif <silentquote@gmail.com>
To: Joe Perches <joe@perches.com>,
	Sherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] driver: staging: wlan-ng: Fixed Breaking long lines and strings style rule
Date: Thu, 03 Apr 2014 01:37:14 +0200	[thread overview]
Message-ID: <533C9F2A.9000102@gmail.com> (raw)
In-Reply-To: <1396480892.32040.17.camel@joe-AO722>

done and sent in a new mail.

BTW regarding "Alignment should match open parenthesis" rule, It's 
missing from Documentation/CodingStyle

On 04/03/2014 01:21 AM, Joe Perches wrote:
> On Thu, 2014-04-03 at 01:17 +0200, Sherif Shehab Aldin wrote:
>> Fixed coding style rule "Breaking long lines and strings" for hfa384x_usb.c
>
> Please use "scripts/checkpatch.pl --strict" on patches
> to files in drivers/staging.
>
> CHECK: Alignment should match open parenthesis
> #75: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:646:
> +	pr_debug("cmdresult:status=0x%04x resp0=0x%04x resp1=0x%04x resp2=0x%04x\n",
> +			result->status, result->resp0,
>
> CHECK: Alignment should match open parenthesis
> #99: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:1383:
> +	pr_debug("cmdreq: cmd=0x%04x parm0=0x%04x parm1=0x%04x parm2=0x%04x\n",
> +			cmd->cmd, cmd->parm0, cmd->parm1, cmd->parm2);
>
> CHECK: Alignment should match open parenthesis
> #109: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2019:
> +	netdev_info(hw->wlandev->netdev,
> +			"Download %d bytes to flash @0x%06x\n", len, daddr);
>
> CHECK: Alignment should match open parenthesis
> #120: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2030:
> +	netdev_warn(hw->wlandev->netdev,
> +			"dlbuf@0x%06lx len=%d to=%d\n", dlbufaddr,
>
> CHECK: Alignment should match open parenthesis
> #133: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2065:
> +			netdev_err(hw->wlandev->netdev,
> +					"download(NV,lo=%x,hi=%x,len=%x) cmd failed, result=%d. Aborting d/l\n",
>
> CHECK: Alignment should match open parenthesis
> #154: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2354:
> +	netdev_info(hw->wlandev->netdev, "Writing %d bytes to ram @0x%06x\n",
> +			len, daddr);
>
> CHECK: Alignment should match open parenthesis
> #164: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2465:
> +				netdev_err(hw->wlandev->netdev,
> +						"pdrlen invalid=%d\n", pdrlen);
>
> CHECK: Alignment should match open parenthesis
> #174: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:2788:
> +		netdev_err(hw->wlandev->netdev,
> +				"submit_tx_urb() failed, error=%d\n", ret);
>
> CHECK: Alignment should match open parenthesis
> #195: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:4143:
> +			pr_debug("Encountered unknown PDR#=0x%04x, assuming it's ok.\n",
> +					pdrcode);
>
> CHECK: Alignment should match open parenthesis
> #202: FILE: drivers/staging/wlan-ng/hfa384x_usb.c:4148:
> +			pr_debug("Encountered unknown PDR#=0x%04x, (>=0x1000), assuming it's bad.\n",
> +					pdrcode);
>
> total: 0 errors, 2 warnings, 10 checks, 127 lines checked
>
>

  reply	other threads:[~2014-04-02 23:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 23:17 [PATCH] driver: staging: wlan-ng: Fixed Breaking long lines and strings style rule Sherif Shehab Aldin
2014-04-02 23:21 ` Joe Perches
2014-04-02 23:37   ` Sherif [this message]
2014-04-02 23:40     ` Joe Perches
2014-04-02 23:48       ` Greg KH
2014-04-02 23:55         ` Joe Perches
  -- strict thread matches above, loose matches on Subject: below --
2014-04-02 23:32 Sherif Shehab Aldin

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=533C9F2A.9000102@gmail.com \
    --to=silentquote@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shehabaldin.sherif@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.