android_kernel_motorola_sm6375/arch/m68k
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jason A. Donenfeld 36f38f838c m68k: use fallback for random_get_entropy() instead of zero
commit 0f392c95391f2d708b12971a07edaa7973f9eece upstream.

In the event that random_get_entropy() can't access a cycle counter or
similar, falling back to returning 0 is really not the best we can do.
Instead, at least calling random_get_entropy_fallback() would be
preferable, because that always needs to return _something_, even
falling back to jiffies eventually. It's not as though
random_get_entropy_fallback() is super high precision or guaranteed to
be entropic, but basically anything that's not zero all the time is
better than returning zero all the time.

Cc: Thomas Gleixner <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-06-22 14:11:15 +02:00
..
68000
amiga
apollo
atari
bvme6000
coldfire
configs scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
emu m68k: emu: Fix invalid free in nfeth_cleanup() 2021-09-15 09:47:28 +02:00
fpsp040
hp300
ifpsp060
include m68k: use fallback for random_get_entropy() instead of zero 2022-06-22 14:11:15 +02:00
kernel m68k: Handle arrivals of multiple signals correctly 2021-10-17 10:42:34 +02:00
lib
mac m68k: mac: Fix IOP status/control register writes 2020-08-19 08:15:56 +02:00
math-emu
mm m68k: mm: fix node memblock init 2020-07-22 09:32:52 +02:00
mvme16x m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:44:19 +02:00
mvme147 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:44:19 +02:00
q40 m68k: q40: Fix info-leak in rtc_ioctl 2020-10-01 13:17:12 +02:00
sun3
sun3x
tools/amiga
install.sh
Kconfig
Kconfig.bus m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch 2021-09-22 12:26:34 +02:00
Kconfig.cpu m68k: math-emu: Fix dependencies of math emulation support 2022-06-14 18:11:37 +02:00
Kconfig.debug
Kconfig.devices
Kconfig.machine m68knommu: fix undefined reference to `_init_sp' 2022-06-14 18:11:56 +02:00
Makefile kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables 2020-09-03 11:27:10 +02:00