Skip to content

Commit 551abd5

Browse files
committed
platform/x86: intel-uncore-freq: Use sysfs_emit() to instead of scnprintf()
jira LE-1907 Rebuild_History Non-Buildable kernel-4.18.0-477.27.1.el8_8 commit-author ye xingchen <ye.xingchen@zte.com.cn> commit 76a13da Empty-Commit: Cherry-Pick Conflicts during history rebuild. Will be included in final tarball splat. Ref for failed cherry-pick at: ciq/ciq_backports/kernel-4.18.0-477.27.1.el8_8/76a13da7.failed Replace the open-code with sysfs_emit() to simplify the code. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Link: https://lore.kernel.org/r/20220923063314.239146-1-ye.xingchen@zte.com.cn Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> (cherry picked from commit 76a13da) Signed-off-by: Jonathan Maple <jmaple@ciq.com> # Conflicts: # drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
1 parent 0f70740 commit 551abd5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
platform/x86: intel-uncore-freq: Use sysfs_emit() to instead of scnprintf()
2+
3+
jira LE-1907
4+
Rebuild_History Non-Buildable kernel-4.18.0-477.27.1.el8_8
5+
commit-author ye xingchen <ye.xingchen@zte.com.cn>
6+
commit 76a13da75d3ae5acc3cbc02eef558d8faa12e846
7+
Empty-Commit: Cherry-Pick Conflicts during history rebuild.
8+
Will be included in final tarball splat. Ref for failed cherry-pick at:
9+
ciq/ciq_backports/kernel-4.18.0-477.27.1.el8_8/76a13da7.failed
10+
11+
Replace the open-code with sysfs_emit() to simplify the code.
12+
13+
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
14+
Link: https://lore.kernel.org/r/20220923063314.239146-1-ye.xingchen@zte.com.cn
15+
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
16+
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
17+
(cherry picked from commit 76a13da75d3ae5acc3cbc02eef558d8faa12e846)
18+
Signed-off-by: Jonathan Maple <jmaple@ciq.com>
19+
20+
# Conflicts:
21+
# drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
22+
* Unmerged path drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
23+
* Unmerged path drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c

0 commit comments

Comments
 (0)