1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/compiler.h>
4 #include <linux/types.h>
9 int test__unit_number__scnprint(struct test
*t __maybe_unused
, int subtest __maybe_unused
)
17 { 20*1024*1024, "20M" },
18 { 30*1024*1024*1024ULL, "30G" },
27 unit_number__scnprintf(buf
, sizeof(buf
), test
[i
].n
);
29 pr_debug("n %" PRIu64
", str '%s', buf '%s'\n",
30 test
[i
].n
, test
[i
].str
, buf
);
32 if (strcmp(test
[i
].str
, buf
))