summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/aa-sources/files/aa-sources-2.6.5.CAN-2004-0228.patch')
-rw-r--r--sys-kernel/aa-sources/files/aa-sources-2.6.5.CAN-2004-0228.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/aa-sources/files/aa-sources-2.6.5.CAN-2004-0228.patch b/sys-kernel/aa-sources/files/aa-sources-2.6.5.CAN-2004-0228.patch
new file mode 100644
index 000000000000..746ade9ab1c0
--- /dev/null
+++ b/sys-kernel/aa-sources/files/aa-sources-2.6.5.CAN-2004-0228.patch
@@ -0,0 +1,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;