diff options
| author | Tony Lindgren <tony@atomide.com> | 2019-10-04 09:06:41 -0700 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2019-10-04 09:06:41 -0700 |
| commit | 1913c7f3fc2514e09262baf2267a82dfdb215c39 (patch) | |
| tree | 1aaf6970e99c1f5535776f9fd9067f0d811b2532 /include/linux/string.h | |
| parent | f90ec6cdf674248dcad85bf9af6e064bf472b841 (diff) | |
| parent | 96d49bbfe6c1a6bb43ccd00fb87aca100e32e5e2 (diff) | |
| download | cachepc-linux-1913c7f3fc2514e09262baf2267a82dfdb215c39.tar.gz cachepc-linux-1913c7f3fc2514e09262baf2267a82dfdb215c39.zip | |
Merge tag 'fix-missing-panels' into fixes
Diffstat (limited to 'include/linux/string.h')
| -rw-r--r-- | include/linux/string.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 4deb11f7976b..b2f9df7f0761 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -474,8 +474,9 @@ static inline void memcpy_and_pad(void *dest, size_t dest_len, * But this can lead to bugs due to typos, or if prefix is a pointer * and not a constant. Instead use str_has_prefix(). * - * Returns: 0 if @str does not start with @prefix - strlen(@prefix) if @str does start with @prefix + * Returns: + * * strlen(@prefix) if @str starts with @prefix + * * 0 if @str does not start with @prefix */ static __always_inline size_t str_has_prefix(const char *str, const char *prefix) { |
