[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DDC4C0.5080103@fastmail.fm>
Date: Thu, 09 Apr 2009 10:49:52 +0100
From: Jack Stone <jwjstone@...tmail.fm>
To: Jesper Nilsson <jesper.nilsson@...s.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jeff@...zik.org" <jeff@...zik.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
starvik@...s.com, Jesper Nilsson <jesper.nilsson@...s.com>
Subject: Re: [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@...tmail.fm>
>
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.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 {
>
>
--
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