All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikola Pajkovsky <npajkovs@redhat.com>
To: Severin Gsponer <svgsponer@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Kevin McKinney <klmckinney1@gmail.com>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] Staging: bcm: Fix of various code style issues.
Date: Tue, 21 May 2013 06:30:04 +0200	[thread overview]
Message-ID: <m3li79arar.fsf@redhat.com> (raw)
In-Reply-To: <1368801862-24405-1-git-send-email-svgsponer@gmail.com> (Severin Gsponer's message of "Fri, 17 May 2013 16:44:22 +0200")

Severin Gsponer <svgsponer@gmail.com> writes:

> Changed comment style to C89 in Version.h
> Fixed some whitespace issues in Typedefs.h
> Changed comment style to C89 in vendorspecificextn.c
> All issues found with checkpatch.pl
>
> Signed-off-by: Severin Gsponer <svgsponer@gmail.com>
> ---
>  drivers/staging/bcm/Typedefs.h           |   22 ++--
>  drivers/staging/bcm/Version.h            |    8 +-
>  drivers/staging/bcm/vendorspecificextn.c |  197 +++++++++++++++---------------
>  3 files changed, 110 insertions(+), 117 deletions(-)
>
> diff --git a/drivers/staging/bcm/Typedefs.h b/drivers/staging/bcm/Typedefs.h
> index a985abf..3dea509 100644
> --- a/drivers/staging/bcm/Typedefs.h
> +++ b/drivers/staging/bcm/Typedefs.h
> @@ -25,16 +25,16 @@ typedef unsigned int B_UINT32;
>  typedef unsigned long ULONG;
>  typedef unsigned long DWORD;
>  
> -typedef char* PCHAR;
> -typedef short* PSHORT;
> -typedef int* PINT;
> -typedef long* PLONG;
> -typedef void* PVOID;
> -
> -typedef unsigned char* PUCHAR;
> -typedef unsigned short* PUSHORT;
> -typedef unsigned int* PUINT;
> -typedef unsigned long* PULONG;
> +typedef char *PCHAR;
> +typedef short *PSHORT;
> +typedef int *PINT;
> +typedef long *PLONG;
> +typedef void *PVOID;
> +
> +typedef unsigned char *PUCHAR;
> +typedef unsigned short *PUSHORT;
> +typedef unsigned int *PUINT;
> +typedef unsigned long *PULONG;
>  typedef unsigned long long ULONG64;
>  typedef unsigned long long LARGE_INTEGER;
>  typedef unsigned int UINT32;
> @@ -43,5 +43,5 @@ typedef unsigned int UINT32;
>  #endif

I bet, there is no reason for such typedef's

-- 
Nikola

  parent reply	other threads:[~2013-05-21 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-17 14:44 [PATCH 1/1] Staging: bcm: Fix of various code style issues Severin Gsponer
2013-05-17 22:08 ` Greg Kroah-Hartman
2013-05-21  4:30 ` Nikola Pajkovsky [this message]
2013-05-21 12:31 ` Denis Kirjanov

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=m3li79arar.fsf@redhat.com \
    --to=npajkovs@redhat.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=klmckinney1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=svgsponer@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.