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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux