Re: [PATCH] drivers/md: remove unnecessary casts of void *

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 8 Jan 2010 15:42:35 -0700
H Hartley Sweeten <hartleys@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx>
> Cc: Neil Brown <neilb@xxxxxxx>
> 

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(-)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux