Re: [PATCH v3 2/2] 9p/trans_xen: replace simple_strto* with kstrtouint
Dominique Martinet <[email protected]> Thu, 16 Apr 2026 11:07:04 +0900
| Newsgroups | dev.linux.lists.v9fs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Stefano Stabellini wrote on Wed, Apr 08, 2026 at 06:30:43PM -0700: > 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]> FWIW this patch 2/2 was apparently truncated (won't apply because of the missing context line), but looking at V2 there doesn't seem to be any actual change missing, so applied anyway... > Reviewed-by: Stefano Stabellini <[email protected]> Thank you for the reviews! I'm picking these up for whenever I can send the patches. -- Dominique Martinet | Asmadeus