lib: string: add strreplace_nonalnum
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: string: add strreplace_nonalnuminclude/ lib/ | +28 | 0 replies | |
| 1/2 | lib: string: add strreplace_nonalnuminclude/ lib/ | +28 | 7 replies | |
| 2/2 | net: phy: aquantia: use new function strreplace_nonalnumdrivers/ | +1 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] lib: string: add strreplace_nonalnum
Add a new function strreplace_nonalnum that replaces all non-alphanumeric characters. Such functionality is needed e.g. when a string is supposed to be used in a file name. If '\0' is given as new character then non-alphanumeric characters are cut.
There doesn't seem to be a maintainer or mailing list for lib/string.c Therefore I hope it's ok to submit this through the netdev tree.
Heiner Kallweit (2):
lib: string: add strreplace_nonalnum
net: phy: aquantia: use new function strreplace_nonalnum
drivers/net/phy/aquantia_hwmon.c | 10 +--------- include/linux/string.h | 1 + lib/string.c | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 9 deletions(-)
Signature · 1 line
2.21.0