lkml.org 
[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/56] cris: Remove void casts
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@fastmail.fm>
>
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
> ---
>
> 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 {
>
>



\
 
 \ /
  Last update: 2009-04-09 11:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site