linux/drivers/block/drbd
David Carlier fa0cac9a51 drbd: use get_random_u64() where appropriate
Use the typed random integer helpers instead of
get_random_bytes() when filling a single integer variable.
The helpers return the value directly, require no pointer
or size argument, and better express intent.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://patch.msgid.link/20260405154704.4610-1-devnexen@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-04-07 06:27:39 -06:00
..
Kconfig lib/crc: remove CONFIG_LIBCRC32C 2025-04-04 11:31:42 -07:00
Makefile drbd: remove DRBD_GENLA_F_MANDATORY flag handling 2026-04-06 20:21:37 -06:00
drbd_actlog.c drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock() 2026-02-19 08:21:53 -07:00
drbd_bitmap.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
drbd_buildtag.c
drbd_debugfs.c
drbd_debugfs.h
drbd_int.h drbd: Remove the open-coded page pool 2025-08-11 07:54:27 -06:00
drbd_interval.c
drbd_interval.h drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock() 2026-02-19 08:21:53 -07:00
drbd_main.c drbd: use get_random_u64() where appropriate 2026-04-07 06:27:39 -06:00
drbd_nl.c drbd: use get_random_u64() where appropriate 2026-04-07 06:27:39 -06:00
drbd_polymorph_printk.h
drbd_proc.c
drbd_protocol.h
drbd_receiver.c block-7.0-20260227 2026-02-27 10:42:02 -08:00
drbd_req.c drbd: fix null-pointer dereference on local read error 2026-02-20 07:09:06 -07:00
drbd_req.h
drbd_state.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
drbd_state.h
drbd_state_change.h
drbd_strings.c
drbd_strings.h
drbd_vli.h
drbd_worker.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00