mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/2] Staging: wlan-ng: fix most of the style issues in hfa384x.h
@ 2010-02-14 20:12 Alessandro Ghedini
  2010-02-14 22:01 ` Gábor Stefanik
  0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Ghedini @ 2010-02-14 20:12 UTC (permalink / raw)
  To: gregkh, jmm, mithlesh, karllinuxtest.relton
  Cc: devel, linux-kernel, Alessandro Ghedini

This patch fixes all the errors and the majority of the warnings found with
checkpatch.pl script in hfa384x.h, following Gábor Stefanik hints

Signed-off-by: Alessandro Ghedini <al3xbio@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 8e39f76..3d440f8 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -63,15 +63,9 @@
 /*--- Mins & Maxs -----------------------------------*/
 #define		HFA384x_PORTID_MAX		((u16)7)
 #define		HFA384x_NUMPORTS_MAX		((u16)(HFA384x_PORTID_MAX+1))
-#define		HFA384x_PDR_LEN_MAX		((u16)512) 	/*
-								 * in bytes,
-								 * from EK
-								 */
+#define		HFA384x_PDR_LEN_MAX	((u16)512) 	/* in bytes, from EK */
 #define		HFA384x_PDA_RECS_MAX		((u16)200)	/* a guess */
-#define		HFA384x_PDA_LEN_MAX		((u16)1024)	/*
-								 * in bytes,
-								 * from EK
-								 */
+#define		HFA384x_PDA_LEN_MAX	((u16)1024)	/* in bytes, from EK*/
 #define		HFA384x_SCANRESULT_MAX		((u16)31)
 #define		HFA384x_HSCANRESULT_MAX		((u16)31)
 #define		HFA384x_CHINFORESULT_MAX	((u16)16)
-- 
1.6.6.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] Staging: wlan-ng: fix most of the style issues in  hfa384x.h
  2010-02-14 20:12 [PATCH 2/2] Staging: wlan-ng: fix most of the style issues in hfa384x.h Alessandro Ghedini
@ 2010-02-14 22:01 ` Gábor Stefanik
  0 siblings, 0 replies; 2+ messages in thread
From: Gábor Stefanik @ 2010-02-14 22:01 UTC (permalink / raw)
  To: Alessandro Ghedini
  Cc: gregkh, jmm, mithlesh, karllinuxtest.relton, devel, linux-kernel

You posted the wrong patch - this is only an interdiff.

Also, it might be a good idea to reduce the spacing for all entries,
not just these "overdone" ones, to keep them lined-up nicely.

On Sun, Feb 14, 2010 at 9:12 PM, Alessandro Ghedini <al3xbio@gmail.com> wrote:
> This patch fixes all the errors and the majority of the warnings found with
> checkpatch.pl script in hfa384x.h, following Gábor Stefanik hints
>
> Signed-off-by: Alessandro Ghedini <al3xbio@gmail.com>
> ---
>  drivers/staging/wlan-ng/hfa384x.h |   10 ++--------
>  1 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
> index 8e39f76..3d440f8 100644
> --- a/drivers/staging/wlan-ng/hfa384x.h
> +++ b/drivers/staging/wlan-ng/hfa384x.h
> @@ -63,15 +63,9 @@
>  /*--- Mins & Maxs -----------------------------------*/
>  #define                HFA384x_PORTID_MAX              ((u16)7)
>  #define                HFA384x_NUMPORTS_MAX            ((u16)(HFA384x_PORTID_MAX+1))
> -#define                HFA384x_PDR_LEN_MAX             ((u16)512)      /*
> -                                                                * in bytes,
> -                                                                * from EK
> -                                                                */
> +#define                HFA384x_PDR_LEN_MAX     ((u16)512)      /* in bytes, from EK */
>  #define                HFA384x_PDA_RECS_MAX            ((u16)200)      /* a guess */
> -#define                HFA384x_PDA_LEN_MAX             ((u16)1024)     /*
> -                                                                * in bytes,
> -                                                                * from EK
> -                                                                */
> +#define                HFA384x_PDA_LEN_MAX     ((u16)1024)     /* in bytes, from EK*/
>  #define                HFA384x_SCANRESULT_MAX          ((u16)31)
>  #define                HFA384x_HSCANRESULT_MAX         ((u16)31)
>  #define                HFA384x_CHINFORESULT_MAX        ((u16)16)
> --
> 1.6.6.2
>
> _______________________________________________
> devel mailing list
> devel@linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-14 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-14 20:12 [PATCH 2/2] Staging: wlan-ng: fix most of the style issues in hfa384x.h Alessandro Ghedini
2010-02-14 22:01 ` Gábor Stefanik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®