OSDN Git Service

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)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 19 May 2022 14:54:15 +0000 (16:54 +0200)
commit7c3a8a1db5e03d02cc0abb3357a84b8b326dfac3
tree329edd95ea3cf4e81535446f7406d195b3eec8c7
parent7782cfeca7d420e8bb707613d4cfb0f7ff29bb3a
random: use proper return types on get_random_{int,long}_wait()

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>
include/linux/random.h