Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-04 Thread Heiner Kallweit
On 04.03.2019 20:22, David Miller wrote: > From: Heiner Kallweit > Date: Mon, 4 Mar 2019 19:54:16 +0100 > >> 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.

Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-04 Thread David Miller
From: Heiner Kallweit Date: Mon, 4 Mar 2019 19:54:16 +0100 > 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

Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-04 Thread Heiner Kallweit
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 >>

Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-03 Thread Heiner Kallweit
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

Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-03 Thread Heiner Kallweit
On 03.03.2019 18:34, Andrew Lunn wrote: > On Sun, Mar 03, 2019 at 06:19:35PM +0100, Heiner Kallweit wrote: >> 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. > > Hi Heiner > > It is probably a good idea to

Re: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-03 Thread Andrew Lunn
On Sun, Mar 03, 2019 at 06:19:35PM +0100, Heiner Kallweit wrote: > 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. Hi Heiner It is probably a good idea to Cc: ~/linux$ ./scripts/get_maintainer.pl -f lib/str

[PATCH net-next 0/2] lib: string: add strreplace_nonalnum

2019-03-03 Thread Heiner Kallweit
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