diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-02-08 16:31:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-10 09:30:24 +0300 |
commit | f1db99c07b4f0a9edc45f3498d4d13d13a41836a (patch) | |
tree | 598bb0442756c5e932bf7e9d80445e9818b98be5 /net/switchdev | |
parent | a136391ae4216a5713f9527c8a05e9364f059a31 (diff) | |
download | linux-f1db99c07b4f0a9edc45f3498d4d13d13a41836a.tar.xz |
string_helpers: Move string_is_valid() to the header
Move string_is_valid() to the header for wider use.
While at it, rename to string_is_terminated() to be
precise about its semantics.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230208133153.22528-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions