linux-stable/arch/um/drivers
Christopher Obbard 9e70cbd11b um: random: Don't initialise hwrng struct with zero
Initialising the hwrng struct with zeros causes a
compile-time sparse warning:

 $ ARCH=um make -j10 W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
 ...
 CHECK   arch/um/drivers/random.c
 arch/um/drivers/random.c:31:31: sparse: warning: Using plain integer as NULL pointer

Fix the warning by not initialising the hwrng struct
with zeros as it is initialised anyway during module
init.

Fixes: 72d3e093af ("um: random: Register random as hwrng-core device")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2022-07-17 23:34:09 +02:00
..
chan.h
chan_kern.c um: line: Use separate IRQs per line 2022-05-27 09:03:41 +02:00
chan_user.c um: chan_user: Fix winch_tramp() return value 2022-05-27 09:03:41 +02:00
chan_user.h
cow.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c um: daemon: Make default socket configurable 2022-05-27 09:00:40 +02:00
daemon_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c um: Remove unneeded variable 'ret' 2021-04-15 23:10:33 +02:00
Kconfig um/drivers: Kconfig: Fix indentation 2022-07-17 23:12:46 +02:00
line.c um: line: Use separate IRQs per line 2022-05-27 09:03:41 +02:00
line.h um: line: Use separate IRQs per line 2022-05-27 09:03:41 +02:00
Makefile um: xterm: Make default terminal emulator configurable 2022-05-27 08:50:07 +02:00
mconsole.h
mconsole_kern.c um: Fix uml_mconsole stop/go 2022-03-11 10:49:19 +01:00
mconsole_kern.h
mconsole_user.c
mmapper_kern.c
net_kern.c net: um: use eth_hw_addr_set() 2021-10-29 13:17:21 +01:00
net_user.c
null.c
pcap_kern.c
pcap_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
pcap_user.h
port.h
port_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
port_user.c um: port_user: Improve error handling when port-helper is not found 2022-03-11 10:55:55 +01:00
pty.c
random.c um: random: Don't initialise hwrng struct with zero 2022-07-17 23:34:09 +02:00
rtc.h um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_kern.c um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_user.c isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c um: fix error return code in slip_open() 2021-06-17 22:10:05 +02:00
slirp.h
slirp_kern.c
slirp_user.c
ssl.c um: line: Use separate IRQs per line 2022-05-27 09:03:41 +02:00
stderr_console.c
stdio_console.c um: line: Use separate IRQs per line 2022-05-27 09:03:41 +02:00
stdio_console.h
tty.c
ubd.h
ubd_kern.c ubd: don't set the discard_alignment queue limit 2022-05-03 10:38:50 -06:00
ubd_user.c
umcast.h
umcast_kern.c
umcast_user.c
vde.h
vde_kern.c
vde_user.c
vector_kern.c um: vector: switch to netif_napi_add_weight() 2022-05-08 11:33:56 +01:00
vector_kern.h um: Migrate vector drivers to NAPI 2022-03-11 10:45:21 +01:00
vector_transports.c
vector_user.c uml: net: vector: fix const issue 2022-03-11 10:47:05 +01:00
vector_user.h uml: net: vector: fix const issue 2022-03-11 10:47:05 +01:00
vhost_user.h
virt-pci.c um: virt-pci: set device ready in probe() 2022-06-10 20:38:06 -04:00
virtio_uml.c um: virtio_uml: Fix broken device handling in time-travel 2022-05-27 09:03:41 +02:00
xterm.c um: xterm: Make default terminal emulator configurable 2022-05-27 08:50:07 +02:00
xterm.h
xterm_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00