Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/phc-intel/files: phc-intel-pack-rev12-trailing-space.patch
Date: Mon, 02 Dec 2013 10:21:15
Message-Id: 20131202102110.1CE062004B@flycatcher.gentoo.org
1 xmw 13/12/02 10:21:10
2
3 Added: phc-intel-pack-rev12-trailing-space.patch
4 Log:
5 Version bump (bug 492262).
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
8
9 Revision Changes Path
10 1.1 sys-power/phc-intel/files/phc-intel-pack-rev12-trailing-space.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev12-trailing-space.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/files/phc-intel-pack-rev12-trailing-space.patch?rev=1.1&content-type=text/plain
14
15 Index: phc-intel-pack-rev12-trailing-space.patch
16 ===================================================================
17 Remove trailing white spaces from /proc output.
18
19 Signed-off-by: Michael Weber <xmw@g.o>
20 --- phc-intel-pack-rev12/inc/3.12/linux-phc-0.3.2.patch
21 +++ phc-intel-pack-rev12/inc/3.12/linux-phc-0.3.2.patch
22 @@ -97,7 +97,7 @@
23 static void __init acpi_cpufreq_boost_init(void)
24 {
25 if (boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA)) {
26 -@@ -982,6 +983,480 @@
27 +@@ -982,6 +983,485 @@
28 }
29 }
30
31 @@ -173,6 +173,7 @@
32 + vid = extract_vid_from_control(acpi_data->states[freq_table[i].driver_data].control);
33 + count += sprintf(&buf[count], "%u ", vid);
34 + }
35 ++ if (count) count--;
36 + count += sprintf(&buf[count], "\n");
37 +
38 + return count;
39 @@ -202,6 +203,7 @@
40 + vid = extract_vid_from_control(data->original_controls[freq_table[i].driver_data]);
41 + count += sprintf(&buf[count], "%u ", vid);
42 + }
43 ++ if (count) count--;
44 + count += sprintf(&buf[count], "\n");
45 +
46 + return count;
47 @@ -228,6 +230,7 @@
48 + fid = extract_fid_from_control(acpi_data->states[freq_table[i].driver_data].control);
49 + count += sprintf(&buf[count], "%u ", fid);
50 + }
51 ++ if (count) count--;
52 + count += sprintf(&buf[count], "\n");
53 +
54 + return count;
55 @@ -256,6 +259,7 @@
56 + vid = extract_vid_from_control(acpi_data->states[freq_table[i].driver_data].control);
57 + count += sprintf(&buf[count], "%u:%u ", fid, vid);
58 + }
59 ++ if (count) count--;
60 + count += sprintf(&buf[count], "\n");
61 +
62 + return count;
63 @@ -287,6 +291,7 @@
64 + vid = extract_vid_from_control(data->original_controls[freq_table[i].driver_data]);
65 + count += sprintf(&buf[count], "%u:%u ", fid, vid);
66 + }
67 ++ if (count) count--;
68 + count += sprintf(&buf[count], "\n");
69 +
70 + return count;