From: Joe Perches <joe@perches.com>
To: John Daiker <daikerjohn@gmail.com>
Cc: linux-wireless@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH wireless-testing] airo_cs: checkpatch.pl cleanups
Date: Thu, 05 Mar 2009 11:01:28 -0800 [thread overview]
Message-ID: <1236279688.15246.43.camel@localhost> (raw)
In-Reply-To: <49AF1BD7.3020508@gmail.com>
On Wed, 2009-03-04 at 16:24 -0800, John Daiker wrote:
> Hopefully nothing controversial here, since the driver hasn't been touched in a while!
>
> Before: 36 errors, 6 warnings, 482 lines checked
> After: 0 errors, 3 warnings, 485 lines checked
>
> This was nearly all trailing whitespace, * and parenthesis spacing, and code indent changes.
>
> md5sum of object file before and after are identical.
>
> ---
>
> Signed-off-by: John Daiker <daikerjohn@gmail.com>
>
> diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c
> index 27696c2..6b96add 100644
> --- a/drivers/net/wireless/airo_cs.c
> +++ b/drivers/net/wireless/airo_cs.c
> @@ -16,8 +16,8 @@
> In addition this module was derived from dummy_cs.
> The initial developer of dummy_cs is David A. Hinds
> <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
> - are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
> -
> + are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
> +
> ======================================================================*/
>
> #ifdef __IN_PCMCIA_PACKAGE__
> @@ -38,7 +38,7 @@
> #include <pcmcia/cisreg.h>
> #include <pcmcia/ds.h>
>
> -#include <asm/io.h>
> +#include <linux/io.h>
> #include <asm/system.h>
>
> #include "airo.h"
> @@ -54,7 +54,7 @@
> static int pc_debug = PCMCIA_DEBUG;
> module_param(pc_debug, int, 0);
> static char *version = "$Revision: 1.2 $";
> -#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args);
> +#define DEBUG(n, args...) if (pc_debug > (n)) printk(KERN_DEBUG args);
> #else
> #define DEBUG(n, args...)
> #endif
> @@ -63,7 +63,7 @@ static char *version = "$Revision: 1.2 $";
>
> MODULE_AUTHOR("Benjamin Reed");
> MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless
> ethernet \
> - cards. This is the module that links the PCMCIA
> card \
> + cards. This is the module that links the PCMCIA card \
> with the airo module.");
This should use " at the start and end of every line.
MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet "
"cards. This is the module that links the PCMCIA card "
"with the airo module.");
prev parent reply other threads:[~2009-03-05 18:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 0:24 [PATCH wireless-testing] airo_cs: checkpatch.pl cleanups John Daiker
2009-03-05 19:01 ` Joe Perches [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=1236279688.15246.43.camel@localhost \
--to=joe@perches.com \
--cc=daikerjohn@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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.