From: Greg KH <greg@kroah.com>
To: Neil Munro <neilmunro@gmail.com>
Cc: gregkh@suse.de, wfp5p@virginia.edu, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] Staging: RT2860: Fixed multiple errors in rtusb_io.h
Date: Tue, 9 Nov 2010 13:23:22 -0800 [thread overview]
Message-ID: <20101109212322.GA16104@kroah.com> (raw)
In-Reply-To: <1287861137-4272-1-git-send-email-neilmunro@gmail.com>
On Sat, Oct 23, 2010 at 08:12:17PM +0100, Neil Munro wrote:
> Fixed the errors in rtusb_io.h
"errors"? What type of errors? Do you mean checkpatch.pl
warnings/errors?
>
> Signed-off-by: Neil Munro <neilmunro@gmail.com>
> ---
> drivers/staging/rt2860/rtusb_io.h | 44 +++++++++++++++++++-----------------
> 1 files changed, 23 insertions(+), 21 deletions(-)
>
> diff --git a/drivers/staging/rt2860/rtusb_io.h b/drivers/staging/rt2860/rtusb_io.h
> index 64a2fe4..bbb34d2 100644
> --- a/drivers/staging/rt2860/rtusb_io.h
> +++ b/drivers/staging/rt2860/rtusb_io.h
> @@ -144,42 +144,44 @@ struct rt_cmdq {
>
> /* add Client security information into ASIC WCID table and IVEIV table */
> #define RTMP_STA_SECURITY_INFO_ADD(pAd, apidx, KeyID, pEntry) \
> - { RTMP_STA_ENTRY_MAC_RESET(pAd, pEntry->Aid); \
> - if (pEntry->Aid >= 1) { \
> - struct rt_set_asic_wcid_attri SetAsicWcidAttri; \
> - SetAsicWcidAttri.WCID = pEntry->Aid; \
> - if ((pEntry->AuthMode <= Ndis802_11AuthModeAutoSwitch) && \
> - (pEntry->WepStatus == Ndis802_11Encryption1Enabled)) \
> - { \
> - SetAsicWcidAttri.Cipher = pAd->SharedKey[apidx][KeyID].CipherAlg; \
> - } \
> - else if (pEntry->AuthMode == Ndis802_11AuthModeWPANone) \
> - { \
> - SetAsicWcidAttri.Cipher = pAd->SharedKey[apidx][KeyID].CipherAlg; \
> - } \
> - else SetAsicWcidAttri.Cipher = 0; \
> - DBGPRINT(RT_DEBUG_TRACE, ("aid cipher = %ld\n",SetAsicWcidAttri.Cipher)); \
> +{
> + RTMP_STA_ENTRY_MAC_RESET(pAd, pEntry->Aid); \
> + if (pEntry->Aid >= 1) { \
> + struct rt_set_asic_wcid_attri SetAsicWcidAttri; \
> + SetAsicWcidAttri.WCID = pEntry->Aid; \
> + if ((pEntry->AuthMode <= Ndis802_11AuthModeAutoSwitch) && \
Are you sure this is still all ok? The tabs look pretty wrong and
the ends of the line should be smaller, right?
If you are going to fix up the spacing, please also fix the length of
the lines at the same time, especially when it is so easy to do so.
Care to resend this?
thanks,
greg k-h
prev parent reply other threads:[~2010-11-09 21:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-23 19:12 [PATCH 2/2] Staging: RT2860: Fixed multiple errors in rtusb_io.h Neil Munro
2010-11-09 21:23 ` Greg KH [this message]
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=20101109212322.GA16104@kroah.com \
--to=greg@kroah.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=neilmunro@gmail.com \
--cc=wfp5p@virginia.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox