]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared: introduce umul{32,64}_overflow() helpers
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 Sep 2024 20:35:18 +0000 (21:35 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 15 Oct 2024 17:42:56 +0000 (12:42 -0500)
commit7eba0cd2cb79d27d93917d85300c27da23c3f54e
treeb9717744206b542d56daab072e0ec64b1abd1449
parent8808f0eeaaafee0e0e9e59671829c7fec55108a8
shared: introduce umul{32,64}_overflow() helpers

We'll use them to implement the size_t variant.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/169
[ Fixup commit message for renamed functions ]
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build
shared/util.h
testsuite/test-util.c