From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>, linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v1 3/5] treewide: use get_random_u32() when possible
Date: Thu, 06 Oct 2022 15:38:31 +0200 [thread overview]
Message-ID: <87tu4hdqco.fsf@toke.dk> (raw)
In-Reply-To: <20221005214844.2699-4-Jason@zx2c4.com>
"Jason A. Donenfeld" <Jason@zx2c4.com> writes:
> 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.
>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> ---
> Documentation/networking/filter.rst | 2 +-
> drivers/infiniband/hw/cxgb4/cm.c | 4 ++--
> drivers/infiniband/hw/hfi1/tid_rdma.c | 2 +-
> drivers/infiniband/hw/mlx4/mad.c | 2 +-
> drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 +-
> drivers/md/raid5-cache.c | 2 +-
> drivers/mtd/nand/raw/nandsim.c | 2 +-
> drivers/net/bonding/bond_main.c | 2 +-
> drivers/net/ethernet/broadcom/cnic.c | 2 +-
> .../chelsio/inline_crypto/chtls/chtls_cm.c | 2 +-
> drivers/net/ethernet/rocker/rocker_main.c | 6 +++---
> .../net/wireless/marvell/mwifiex/cfg80211.c | 4 ++--
> .../net/wireless/microchip/wilc1000/cfg80211.c | 2 +-
> .../net/wireless/quantenna/qtnfmac/cfg80211.c | 2 +-
> drivers/nvme/common/auth.c | 2 +-
> drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 4 ++--
> drivers/target/iscsi/cxgbit/cxgbit_cm.c | 2 +-
> drivers/thunderbolt/xdomain.c | 2 +-
> drivers/video/fbdev/uvesafb.c | 2 +-
> fs/exfat/inode.c | 2 +-
> fs/ext2/ialloc.c | 2 +-
> fs/ext4/ialloc.c | 4 ++--
> fs/ext4/ioctl.c | 4 ++--
> fs/ext4/mmp.c | 2 +-
> fs/f2fs/namei.c | 2 +-
> fs/fat/inode.c | 2 +-
> fs/nfsd/nfs4state.c | 4 ++--
> fs/ubifs/journal.c | 2 +-
> fs/xfs/libxfs/xfs_ialloc.c | 2 +-
> fs/xfs/xfs_icache.c | 2 +-
> fs/xfs/xfs_log.c | 2 +-
> include/net/netfilter/nf_queue.h | 2 +-
> include/net/red.h | 2 +-
> include/net/sock.h | 2 +-
> kernel/kcsan/selftest.c | 2 +-
> lib/random32.c | 2 +-
> lib/reed_solomon/test_rslib.c | 6 +++---
> lib/test_fprobe.c | 2 +-
> lib/test_kprobes.c | 2 +-
> lib/test_rhashtable.c | 6 +++---
> mm/shmem.c | 2 +-
> net/802/garp.c | 2 +-
> net/802/mrp.c | 2 +-
> net/core/pktgen.c | 4 ++--
> net/ipv4/tcp_cdg.c | 2 +-
> net/ipv4/udp.c | 2 +-
> net/ipv6/ip6_flowlabel.c | 2 +-
> net/ipv6/output_core.c | 2 +-
> net/netfilter/ipvs/ip_vs_conn.c | 2 +-
> net/netfilter/xt_statistic.c | 2 +-
> net/openvswitch/actions.c | 2 +-
> net/rds/bind.c | 2 +-
> net/sched/sch_cake.c | 2 +-
> net/sched/sch_netem.c | 18 +++++++++---------
> net/sunrpc/auth_gss/gss_krb5_wrap.c | 4 ++--
> net/sunrpc/xprt.c | 2 +-
> net/unix/af_unix.c | 2 +-
> 57 files changed, 79 insertions(+), 79 deletions(-)
For sch_cake:
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
next prev parent reply other threads:[~2022-10-06 13:38 UTC|newest]
Thread overview: 239+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 21:48 [PATCH v1 0/5] treewide cleanup of random integer usage Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld via dev
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-05 21:48 ` [PATCH v1 1/5] treewide: use prandom_u32_max() when possible Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld via Linux-f2fs-devel
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:16 ` [Drbd-dev] " Kees Cook
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:16 ` Kees Cook
2022-10-06 4:22 ` [f2fs-dev] " KP Singh
2022-10-06 4:22 ` KP Singh
2022-10-06 4:22 ` [Drbd-dev] " KP Singh
2022-10-06 4:22 ` KP Singh
2022-10-06 4:22 ` KP Singh
2022-10-06 4:22 ` KP Singh
2022-10-06 4:22 ` KP Singh
2022-10-06 12:45 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 12:45 ` Jason A. Donenfeld
2022-10-06 12:45 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 12:45 ` Jason A. Donenfeld
2022-10-06 12:45 ` Jason A. Donenfeld
2022-10-06 12:45 ` Jason A. Donenfeld
2022-10-06 12:45 ` Jason A. Donenfeld via dev
2022-10-06 12:55 ` [f2fs-dev] " Jason Gunthorpe
2022-10-06 12:55 ` Jason Gunthorpe
2022-10-06 12:55 ` [Drbd-dev] " Jason Gunthorpe
2022-10-06 12:55 ` Jason Gunthorpe
2022-10-06 12:55 ` Jason Gunthorpe
2022-10-06 12:55 ` Jason Gunthorpe
2022-10-06 12:55 ` Jason Gunthorpe
2022-10-06 13:05 ` [f2fs-dev] " Andy Shevchenko
2022-10-06 13:05 ` Andy Shevchenko
2022-10-06 13:05 ` [Drbd-dev] " Andy Shevchenko
2022-10-06 13:05 ` Andy Shevchenko
2022-10-06 13:05 ` Andy Shevchenko
2022-10-06 13:05 ` Andy Shevchenko
2022-10-06 13:05 ` Andy Shevchenko
2022-10-06 9:07 ` Christoph Böhmwalder
2022-10-06 9:07 ` [Drbd-dev] " Christoph Böhmwalder
2022-10-05 21:48 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Jason A. Donenfeld
2022-10-05 21:48 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Jason A. Donenfeld via dev
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 4:38 ` Kees Cook
2022-10-06 4:38 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Kees Cook
2022-10-06 4:38 ` [Drbd-dev] [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Kees Cook
2022-10-06 4:38 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Kees Cook
2022-10-06 4:38 ` Kees Cook
2022-10-06 4:38 ` Kees Cook
2022-10-06 4:38 ` [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Kees Cook
2022-10-06 12:28 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 12:28 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Jason A. Donenfeld
2022-10-06 12:28 ` [Drbd-dev] [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Jason A. Donenfeld
2022-10-06 12:28 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Jason A. Donenfeld
2022-10-06 12:28 ` Jason A. Donenfeld
2022-10-06 12:28 ` Jason A. Donenfeld
2022-10-06 12:28 ` [PATCH v1 2/5] treewide: use get_random_{u8, u16}() " Jason A. Donenfeld via dev
2022-10-06 13:37 ` [PATCH v1 2/5] treewide: use get_random_{u8,u16}() " Toke Høiland-Jørgensen
2022-10-05 21:48 ` [PATCH v1 3/5] treewide: use get_random_u32() " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld via Linux-f2fs-devel
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 8:43 ` Jan Kara
2022-10-06 8:43 ` Jan Kara
2022-10-06 8:43 ` [Drbd-dev] " Jan Kara
2022-10-06 8:43 ` Jan Kara
2022-10-06 8:43 ` Jan Kara
2022-10-06 8:43 ` Jan Kara
2022-10-06 8:43 ` Jan Kara
2022-10-06 12:33 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 12:33 ` Jason A. Donenfeld
2022-10-06 12:33 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 12:33 ` Jason A. Donenfeld
2022-10-06 12:33 ` Jason A. Donenfeld
2022-10-06 12:33 ` Jason A. Donenfeld
2022-10-06 12:33 ` Jason A. Donenfeld via dev
2022-10-06 12:56 ` Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:01 ` [Drbd-dev] " Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:01 ` Andy Shevchenko
2022-10-06 13:07 ` Jason A. Donenfeld
2022-10-06 13:07 ` Jason A. Donenfeld
2022-10-06 13:07 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 13:07 ` Jason A. Donenfeld
2022-10-06 13:07 ` Jason A. Donenfeld
2022-10-06 13:07 ` Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 13:07 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 13:07 ` Jason A. Donenfeld
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 12:47 ` [Drbd-dev] " Jason Gunthorpe
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 12:47 ` Jason Gunthorpe
2022-10-06 13:05 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 13:05 ` Jason A. Donenfeld
2022-10-06 13:05 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 13:05 ` Jason A. Donenfeld
2022-10-06 13:05 ` Jason A. Donenfeld
2022-10-06 13:05 ` Jason A. Donenfeld
2022-10-06 13:05 ` Jason A. Donenfeld via dev
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:15 ` [Drbd-dev] " Jason Gunthorpe
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:15 ` [f2fs-dev] " Jason Gunthorpe
2022-10-06 13:15 ` Jason Gunthorpe
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` [Drbd-dev] " Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:20 ` [f2fs-dev] " Andy Shevchenko
2022-10-06 13:20 ` Andy Shevchenko
2022-10-06 13:38 ` Toke Høiland-Jørgensen [this message]
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` [Drbd-dev] " Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` [f2fs-dev] " Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` [Drbd-dev] " David Laight
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` David Laight
2022-10-12 21:29 ` [f2fs-dev] " David Laight
2022-10-12 21:29 ` David Laight
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` [Drbd-dev] " Joe Perches
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` Joe Perches
2022-10-13 1:37 ` [f2fs-dev] " Joe Perches
2022-10-13 1:37 ` Joe Perches
[not found] ` <20221005214844.2699-4-Jason-OnJsPKxuuEcAvxtiuMwx3w@public.gmane.org>
2022-10-12 19:16 ` Joe Perches
2022-10-12 19:16 ` Joe Perches
2022-10-05 21:48 ` [PATCH v1 4/5] treewide: use get_random_bytes " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld via Linux-f2fs-devel
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:45 ` [Drbd-dev] " Kees Cook
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:45 ` Kees Cook
2022-10-06 4:48 ` [f2fs-dev] " Kees Cook
2022-10-06 4:48 ` Kees Cook
2022-10-06 4:48 ` [Drbd-dev] " Kees Cook
2022-10-06 4:48 ` Kees Cook
2022-10-06 4:48 ` Kees Cook
2022-10-06 4:48 ` Kees Cook
2022-10-06 4:48 ` Kees Cook
2022-10-05 21:48 ` [PATCH v1 5/5] prandom: remove unused functions Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld
2022-10-05 21:48 ` Jason A. Donenfeld via dev
2022-10-05 21:48 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:39 ` [Drbd-dev] " Kees Cook
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:39 ` Kees Cook
2022-10-06 4:55 ` [f2fs-dev] [PATCH v1 0/5] treewide cleanup of random integer usage Kees Cook
2022-10-06 4:55 ` Kees Cook
2022-10-06 4:55 ` [Drbd-dev] " Kees Cook
2022-10-06 4:55 ` Kees Cook
2022-10-06 4:55 ` Kees Cook
2022-10-06 4:55 ` Kees Cook
2022-10-06 4:55 ` Kees Cook
2022-10-06 5:40 ` [f2fs-dev] " Kees Cook
2022-10-06 5:40 ` Kees Cook
2022-10-06 5:40 ` [Drbd-dev] " Kees Cook
2022-10-06 5:40 ` Kees Cook
2022-10-06 5:40 ` Kees Cook
2022-10-06 5:40 ` Kees Cook
2022-10-06 5:40 ` Kees Cook
2022-10-06 12:53 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 12:53 ` Jason A. Donenfeld
2022-10-06 12:53 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 12:53 ` Jason A. Donenfeld
2022-10-06 12:53 ` Jason A. Donenfeld
2022-10-06 12:53 ` Jason A. Donenfeld
2022-10-06 12:53 ` Jason A. Donenfeld via dev
2022-10-06 6:15 ` Kees Cook
2022-10-06 12:58 ` Jason A. Donenfeld
2022-10-06 8:17 ` Yann Droneaud
2022-10-06 13:49 ` [f2fs-dev] " Jason A. Donenfeld via Linux-f2fs-devel
2022-10-06 13:49 ` [Drbd-dev] " Jason A. Donenfeld
2022-10-06 13:49 ` Jason A. Donenfeld
2022-10-06 13:49 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tu4hdqco.fsf@toke.dk \
--to=toke@toke.dk \
--cc=Jason@zx2c4.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.