linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-raid@vger.kernel.org, dm-devel@redhat.com
Subject: Re: [PATCH] drivers/md: remove unnecessary casts of void *
Date: Fri, 29 Jan 2010 17:19:48 +1100	[thread overview]
Message-ID: <20100129171948.7b4a4bcd@notabene> (raw)
In-Reply-To: <201001081542.35552.hartleys@visionengravers.com>

On Fri, 8 Jan 2010 15:42:35 -0700
H Hartley Sweeten <hartleys@visionengravers.com> wrote:

> drivers/md: Remove unnecessary casts of void *
> 
> void pointers do not need to be cast to other pointer types.
> 
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Neil Brown <neilb@suse.de>
> 

Thanks. 
I have taken the non-dm parts of this into my (md) tree.
I'll leave the dm bits for the dm developers.

NeilBrown


> ---
> 
>  drivers/md/bitmap.c         |    8 ++++----
>  drivers/md/dm-crypt.c       |    4 ++--
>  drivers/md/dm-io.c          |    8 ++++----
>  drivers/md/dm-kcopyd.c      |    4 ++--
>  drivers/md/dm-linear.c      |    6 +++---
>  drivers/md/dm-log.c         |   24 ++++++++++++------------
>  drivers/md/dm-mpath.c       |   12 ++++++------
>  drivers/md/dm-raid1.c       |   10 +++++-----
>  drivers/md/dm-round-robin.c |   10 +++++-----
>  drivers/md/dm-stripe.c      |    6 +++---
>  drivers/md/dm.c             |    2 +-
>  drivers/md/faulty.c         |    6 +++---
>  drivers/md/multipath.c      |    2 +-
>  drivers/md/raid1.c          |    8 ++++----
>  drivers/md/raid10.c         |   10 +++++-----
>  drivers/md/raid5.c          |   10 +++++-----
>  16 files changed, 65 insertions(+), 65 deletions(-)

      reply	other threads:[~2010-01-29  6:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 22:42 [PATCH] drivers/md: remove unnecessary casts of void * H Hartley Sweeten
2010-01-29  6:19 ` Neil Brown [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=20100129171948.7b4a4bcd@notabene \
    --to=neilb@suse.de \
    --cc=dm-devel@redhat.com \
    --cc=hartleys@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).