# Re: \[PATCH net-next 0/2\] lib: string: add strreplace\_nonalnum

- From: Heiner Kallweit \<hkallweit1@gmail.com\>
- Date: 2019-03-04 18:54:29 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/03/11128745
- Thread: https://ratatoskr.run/netdev/2019/03/11128649/t.md

```text
On 03.03.2019 19:36, Heiner Kallweit wrote:
> On 03.03.2019 18:19, Heiner Kallweit wrote:
>> 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(-)
>>
> Greg still has some concerns, let's see what the outcome of this
> discussion is.
> https://lkml.org/lkml/2019/3/3/151
> 
This series should be deferred to next merge window.

Heiner
```
