]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
random: use proper return types on get_random_{int,long}_wait()
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 May 2022 10:32:23 +0000 (12:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:24:08 +0000 (09:24 +0200)
commitda71481fefa21c7511244b66d000590704bd21ba
treebeaf29e87f7a1e53c1bbf682ed699edcb783bd55
parent4df97cbda270c1254fd866a9ec80bbd4bab868a8
random: use proper return types on get_random_{int,long}_wait()

commit 7c3a8a1db5e03d02cc0abb3357a84b8b326dfac3 upstream.

Before these were returning signed values, but the API is intended to be
used with unsigned values.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/random.h