Merge tag 'v3.10.107' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / sysctl.c
index a04cdcf29e1f977231724dcd5d1f5b0f118b4094..f9648251352d5177b16d632047da3b0cd4b1d8e8 100644 (file)
@@ -2242,6 +2242,7 @@ static int __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int
                                break;
                        if (neg)
                                continue;
+                       val = convmul * val / convdiv;
                        if ((min && val < *min) || (max && val > *max))
                                continue;
                        *i = val;