Re: [PATCH v3 2/2] 9p/trans_xen: replace simple_strto* with kstrtouint

Stefano Stabellini <[email protected]> Wed, 8 Apr 2026 18:30:43 -0700 (PDT)
Newsgroups dev.linux.lists.v9fs,org.kernel.vger.linux-kernel
Message-ID <alpine.DEB.2.22.394.2604081830330.2873990@ubuntu-linux-20-04-desktop>
On Tue, 24 Mar 2026, Eric-Terminal wrote:
> From: Yufan Chen <[email protected]>
> 
> In xen_9pfs_front_init(), parse the backend version list as comma-separated
> tokens with kstrtouint(), keep strict token validation, and explicitly
> require protocol version 1 to be present.
> 
> This replaces the deprecated simple_strtoul(), improves error reporting
> consistency, and avoids partially parsed values in control paths.
> 
> Signed-off-by: Yufan Chen <[email protected]>

Reviewed-by: Stefano Stabellini <[email protected]>