[PATCH] afs: Replace simple_strtoul with kstrtoul in afs_parse_address

David Howells dhowells at redhat.com
Fri May 30 02:32:52 PDT 2025


Su Hui <suhui at nfschina.com> wrote:

> kstrtoul() is better because simple_strtoul() ignores overflow which
> may lead to unexpected results.

Overflow in what sense?  Are we talking about a mathematical overflow or not
checking the text beyond the end of the number?

David




More information about the linux-afs mailing list