]> git.baikalelectronics.ru Git - kernel.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)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 19 May 2022 14:54:15 +0000 (16:54 +0200)
commit367f058947b52f87e06e6de4bd219dbe98efb1c1
tree329edd95ea3cf4e81535446f7406d195b3eec8c7
parent40c25100eb8882697898028babbbc55153531b05
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