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