diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-08-28 13:41:02 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-09-18 19:45:05 +0300 |
commit | 5c54c9ebb1f4758a4da7731a809148ff1a3a1844 (patch) | |
tree | 4811f6f2c29fb757af05bd7deb2bbe064f929978 /lib/bootconfig.c | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) | |
download | linux-5c54c9ebb1f4758a4da7731a809148ff1a3a1844.tar.xz |
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 <rf@opensource.cirrus.com>
Reviewed-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/bootconfig.c')
0 files changed, 0 insertions, 0 deletions