From 2e5c136b1685b90efbba4b87d9fde19b29c947e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 10 Jul 2014 20:50:59 +0800 Subject: [PATCH] ARM: rockchip: ddr_test: fix compilation warning --- arch/arm/mach-rockchip/ddr_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/ddr_test.c b/arch/arm/mach-rockchip/ddr_test.c index 4cf334facece..4d93549f3740 100755 --- a/arch/arm/mach-rockchip/ddr_test.c +++ b/arch/arm/mach-rockchip/ddr_test.c @@ -25,7 +25,7 @@ struct ddrtest { static struct ddrtest ddrtest; static ssize_t ddr_proc_read(struct file *file, char __user *buffer, - unsigned long len, void *data) + size_t len, loff_t *data) { char version[]={"V100"}; u32 i; @@ -39,7 +39,7 @@ static ssize_t ddr_proc_read(struct file *file, char __user *buffer, } static ssize_t ddr_proc_write(struct file *file, const char __user *buffer, - unsigned long len, void *data) + size_t len, loff_t *data) { char *cookie_pot; char *p; -- 2.34.1