All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] perf tests workload: Formatting for code_with_type.rs
@ 2026-02-09 14:05 Dmitrii Dolgov
  2026-02-09 17:27 ` Ian Rogers
  2026-02-10  8:56 ` Miguel Ojeda
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitrii Dolgov @ 2026-02-09 14:05 UTC (permalink / raw)
  To: linux-perf-users, Arnaldo Carvalho de Melo, Namhyung Kim,
	Ian Rogers, Miguel Ojeda
  Cc: Linux Kernel Mailing List, Dmitrii Dolgov, kernel test robot

One part of the rust code for code_with_type workload wasn't properly
formatted. Pass it through rustfmt to fix that.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602091357.oyRv6hgQ-lkp@intel.com/
Signed-off-by: Dmitrii Dolgov <9erthalion6@gmail.com>
---
 tools/perf/tests/workloads/code_with_type.rs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/perf/tests/workloads/code_with_type.rs b/tools/perf/tests/workloads/code_with_type.rs
index 3b91e51919d..3dab39b22dd 100644
--- a/tools/perf/tests/workloads/code_with_type.rs
+++ b/tools/perf/tests/workloads/code_with_type.rs
@@ -10,7 +10,11 @@ struct Buf {
 
 #[no_mangle]
 pub extern "C" fn test_rs(count: u32) {
-    let mut b =  Buf { data1: 0, data2: String::from("data"), data3: 0};
+    let mut b = Buf {
+        data1: 0,
+        data2: String::from("data"),
+        data3: 0,
+    };
 
     for _ in 1..count {
         b.data1 += 1;

base-commit: 335047109d7d488bf5ad32a4076e1a011994cd0e
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-10 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 14:05 [PATCH v1] perf tests workload: Formatting for code_with_type.rs Dmitrii Dolgov
2026-02-09 17:27 ` Ian Rogers
2026-02-10  8:56 ` Miguel Ojeda
2026-02-10 13:57   ` Mark Brown
2026-02-10 20:58   ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.