Hi,
On Wed, Jun 01, 2022 at 08:39:08PM +0100, Alexandru Elisei wrote:
Hi,
On Wed, Jun 01, 2022 at 05:14:00PM +0100, Andre Przywara wrote:
quoted
On Wed, 1 Jun 2022 15:17:50 +0100
Alexandru Elisei [off-list ref] wrote:
Hi Alex,
[..]
quoted
So if we care about garbage as an argument, we should do it by the book
(strtoul manpage), and compare the next pointer to the input string
I believe my approach is by the man page, where strotoull returns ERANGE on
Err... by return ERANGE I mean that is sets errno to ERANGE (it return
ULLONG_MAX on overflow).
Thanks,
Alex
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel