summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYufan Chen <ericterminal@gmail.com>2026-03-24 23:30:23 +0800
committerDominique Martinet <asmadeus@codewreck.org>2026-04-16 02:57:01 +0000
commit8fc518e489c1386fd0cf7f4256d055960ed6a2e4 (patch)
treeafa36929dd131ae00631e3797e646604f87461d7 /include/linux
parent72cb9ee4f6d80962df17c9763b14e62e28fd85a2 (diff)
9p/trans_xen: replace simple_strto* with kstrtouint
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 <ericterminal@gmail.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Message-ID: <20260324153023.86853-3-ericterminal@gmail.com> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions