diff options
| author | Richard Fitzgerald <[email protected]> | 2023-08-28 10:41:02 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2023-09-18 16:45:05 +0000 |
| commit | 5c54c9ebb1f4758a4da7731a809148ff1a3a1844 (patch) | |
| tree | 4811f6f2c29fb757af05bd7deb2bbe064f929978 /lib/kunit/string-stream-test.c | |
| parent | Linux 6.6-rc2 (diff) | |
| download | kernel-5c54c9ebb1f4758a4da7731a809148ff1a3a1844.tar.gz kernel-5c54c9ebb1f4758a4da7731a809148ff1a3a1844.zip | |
kunit: string-stream: Don't create a fragment for empty strings
If the result of the formatted string is an empty string just return
instead of creating an empty fragment.
Signed-off-by: Richard Fitzgerald <[email protected]>
Reviewed-by: Rae Moar <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions
