[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DCA863.3000800@fastmail.fm>
Date: Wed, 08 Apr 2009 14:36:35 +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>
Subject: Re: [PATCH 08/56] cris: Remove void casts
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 {
View attachment "cris-remove-void-casts" of type "text/plain" (907 bytes)
Powered by blists - more mailing lists