Re: [PATCH 08/56] cris: Remove void casts

From: Jack Stone
Date: Thu Apr 09 2009 - 05:50:17 EST


Sorry I CCd the wrong patch. Here is the corrected version

Thanks,

Jack

Jack Stone wrote:
> Hi Jesper,
>
> That patch might be wrong. Here's a revised version:
>
> Thanks
>
> Jack
>
> cris: Remove void casts
>
> From: Jack Stone <jwjstone@xxxxxxxxxxx>
>
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
>
> arch/cris/arch-v32/drivers/cryptocop.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/cris/arch-v32/drivers/cryptocop.c
> b/arch/cris/arch-v32/drivers/cryptocop.c
> index 67c61ea..f2ffabb 100644
> --- a/arch/cris/arch-v32/drivers/cryptocop.c
> +++ b/arch/cris/arch-v32/drivers/cryptocop.c
> @@ -2784,7 +2784,7 @@ static int cryptocop_ioctl_process(struct inode
> *inode, struct file *filp, unsig
> tmplen -= cop->tfrm_op.indata[0].iov_len;
> for (i = 1; i<noinpages; i++){
> cop->tfrm_op.indata[i].iov_len = tmplen < PAGE_SIZE ?
> tmplen : PAGE_SIZE;
> - cop->tfrm_op.indata[i].iov_base = (unsigned
> char*)page_address(inpages[i]);
> + cop->tfrm_op.indata[i].iov_base = page_address(inpages[i]);
> tmplen -= PAGE_SIZE;
> }
> } else {
>
>

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