summaryrefslogtreecommitdiff
blob: 746ade9ab1c0edcd38be73f92dede1170998ef95 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-2.6.3/drivers/cpufreq/cpufreq_userspace.c.overflow	2004-02-18 04:57:16.000000000 +0100
+++ linux-2.6.3/drivers/cpufreq/cpufreq_userspace.c	2004-05-14 11:40:37.000000000 +0200
@@ -168,7 +168,7 @@ cpufreq_procctl(ctl_table *ctl, int writ
 {
 	char buf[16], *p;
 	int cpu = (int) ctl->extra1;
-	int len, left = *lenp;
+	unsigned int len, left = *lenp;
 
 	if (!left || (filp->f_pos && !write) || !cpu_online(cpu)) {
 		*lenp = 0;