Re: [PATCH v2] ALSA: control: Fix parsing of numeric fields

From: Takashi Iwai

Date: Sun Nov 08 2026 - 05:45:03 EST


On Sun, 08 Nov 2026 10:54:30 +0100,
Sreeraj S Kurup wrote:
>
> Hi Takashi,
>
> I looked into using simple_strtoul(), but noticed that it is deprecated.
> kstrtoul() does not provide an end pointer either.

Yes, that's also my concern about that approach.

> Would it be reasonable to retain the delimiter-first approach with
> kstrtouint(), as in v2?

I depends on the result :) We can compare.


thanks,

Takashi