[PATCH 1/3] staging/ozwpan: formatting coding style

Rupesh Gujare rupesh.gujare at atmel.com
Mon Mar 17 17:26:07 UTC 2014


On 13/03/14 01:17, Jérôme Pinot wrote:
> This fixes the following spacing issues detected by checkpatch.pl:
>
>   WARNING: line over 80 characters
>   #357: FILE: drivers/staging/ozwpan/ozhcd.c:357:
>   +static struct oz_urb_link *oz_uncancel_urb(struct oz_hcd *ozhcd, struct urb *urb)
>
>   ERROR: trailing whitespace
>   #25: FILE: drivers/staging/ozwpan/ozpd.h:25:
>   +/* $
>
> Signed-off-by: Jerome Pinot <ngc891 at gmail.com>
> ---
>   drivers/staging/ozwpan/ozhcd.c | 3 ++-
>   drivers/staging/ozwpan/ozpd.h  | 2 +-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
> index efaf26f..e7901aa 100644
> --- a/drivers/staging/ozwpan/ozhcd.c
> +++ b/drivers/staging/ozwpan/ozhcd.c
> @@ -354,7 +354,8 @@ static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)
>    * disabled.
>    * Context: softirq or process
>    */
> -static struct oz_urb_link *oz_uncancel_urb(struct oz_hcd *ozhcd, struct urb *urb)
> +static struct oz_urb_link *oz_uncancel_urb(struct oz_hcd *ozhcd,
> +		struct urb *urb)
>   {
>   	struct oz_urb_link *urbl;
>   	struct list_head *e;
> diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h
> index 56e6fdf..ad5fe7a 100644
> --- a/drivers/staging/ozwpan/ozpd.h
> +++ b/drivers/staging/ozwpan/ozpd.h
> @@ -22,7 +22,7 @@
>   #define OZ_TIMER_HEARTBEAT	2
>   #define OZ_TIMER_STOP		3
>   
> -/*
> +/*
>    *External spinlock variable
>    */
>   extern spinlock_t g_polling_lock;

Acked-by: Rupesh Gujare <rupesh.gujare at atmel.com>



More information about the devel mailing list