lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 09 Apr 2009 10:45:46 +0100
From:	Jack Stone <jwjstone@...tmail.fm>
To:	linux-kernel@...r.kernel.org
CC:	jeff@...zik.org, kernel-janitors@...r.kernel.org,
	jaharkes@...cmu.edu
Subject: Re: [PATCH 07/56] coda: Remove void casts

[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.fm>
> ---
>  fs/coda/inode.c  |    2 +-
>  fs/coda/upcall.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/coda/inode.c b/fs/coda/inode.c
> index 830f51a..a0407b3 100644
> --- a/fs/coda/inode.c
> +++ b/fs/coda/inode.c
> @@ -43,7 +43,7 @@ static struct kmem_cache * coda_inode_cachep;
>  static struct inode *coda_alloc_inode(struct super_block *sb)
>  {
>  	struct coda_inode_info *ei;
> -	ei = (struct coda_inode_info *)kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL);
> +	ei = kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL);
>  	if (!ei)
>  		return NULL;
>  	memset(&ei->c_fid, 0, sizeof(struct CodaFid));
> diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
> index c274d94..0f2e171 100644
> --- a/fs/coda/upcall.c
> +++ b/fs/coda/upcall.c
> @@ -59,7 +59,7 @@ static void *alloc_upcall(int opcode, int size)
>  
>  #define UPARG(op)\
>  do {\
> -	inp = (union inputArgs *)alloc_upcall(op, insize); \
> +	inp = alloc_upcall(op, insize); \
>          if (IS_ERR(inp)) { return PTR_ERR(inp); }\
>          outp = (union outputArgs *)(inp); \
>          outsize = insize; \
>   

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ