OpenCloudOS-Kernel/drivers/thunderbolt
Jason A. Donenfeld a251c17aa5 treewide: use get_random_u32() when possible
The prandom_u32() function has been a deprecated inline wrapper around
get_random_u32() for several releases now, and compiles down to the
exact same code. Replace the deprecated wrapper with a direct call to
the real function. The same also applies to get_random_int(), which is
just a wrapper around get_random_u32(). This was done as a basic find
and replace.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz> # for ext4
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> # for sch_cake
Acked-by: Chuck Lever <chuck.lever@oracle.com> # for nfsd
Acked-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> # for thunderbolt
Acked-by: Darrick J. Wong <djwong@kernel.org> # for xfs
Acked-by: Helge Deller <deller@gmx.de> # for parisc
Acked-by: Heiko Carstens <hca@linux.ibm.com> # for s390
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-10-11 17:42:58 -06:00
..
Kconfig thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
Makefile thunderbolt: build kunit tests without structleak plugin 2021-10-06 17:53:49 -06:00
acpi.c ACPI: Drop parent field from struct acpi_device 2022-08-24 20:55:24 +02:00
cap.c thunderbolt: cap: Fix kernel-doc formatting issue 2021-01-28 12:33:18 +03:00
ctl.c thunderbolt: Use the actual buffer in tb_async_error() 2022-08-18 11:55:46 +03:00
ctl.h thunderbolt: Fix typo in comment 2022-06-17 18:19:15 +03:00
debugfs.c thunderbolt: debugfs: Fix spelling mistakes in seq_puts text 2022-09-07 09:09:24 +03:00
dma_port.c thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devices 2021-05-31 14:37:54 +03:00
dma_port.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
dma_test.c thunderbolt: Allow multiple DMA tunnels over a single XDomain connection 2021-03-18 18:25:31 +03:00
domain.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
eeprom.c thunderbolt: Rename EEPROM handling bits to match USB4 spec 2022-03-04 17:10:36 +03:00
icm.c thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
lc.c thunderbolt: Add internal xHCI connect flows for Thunderbolt 3 devices 2022-02-02 13:56:51 +03:00
nhi.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
nhi.h thunderbolt: Changes for v6.1 merge window 2022-09-30 13:44:59 +02:00
nhi_ops.c thunderbolt: Software CM only should set force power in Tiger Lake 2020-09-03 12:06:40 +03:00
nhi_regs.h thunderbolt: Add support for Intel Ice Lake 2019-08-26 12:15:06 +03:00
nvm.c thunderbolt: Add support for ASMedia NVM image format 2022-09-07 09:06:51 +03:00
path.c thunderbolt: Dump path config space entries during discovery 2022-04-19 10:26:13 +03:00
property.c thunderbolt: Add tb_property_copy_dir() 2021-03-18 18:25:31 +03:00
quirks.c thunderbolt: Add quirk for Intel Goshen Ridge DP credits 2021-06-01 10:48:59 +03:00
retimer.c thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-09-24 09:22:01 +03:00
sb_regs.h thunderbolt: Add support for receiver lane margining 2022-09-05 09:02:16 +03:00
switch.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
tb.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
tb.h USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
tb_msgs.h thunderbolt: Add support for XDomain lane bonding 2022-05-05 09:25:23 +03:00
tb_regs.h thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-09-26 20:18:25 +03:00
test.c thunderbolt: test: Use kunit_test_suite() macro 2022-07-11 17:13:21 -06:00
tmu.c thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneled 2022-06-06 12:24:56 +03:00
tunnel.c thunderbolt: Fix buffer allocation of devices with no DisplayPort adapters 2022-05-12 09:22:11 +03:00
tunnel.h thunderbolt: Use different lane for second DisplayPort tunnel 2022-04-19 10:26:18 +03:00
usb4.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
usb4_port.c thunderbolt: Show link type for XDomain connections too 2022-08-31 14:05:12 +01:00
xdomain.c treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00