rename random32 to prandom
Status from this message: Pushed to linux-ubifs.git, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | raid6test: use prandom_bytes()crypto/ | +2 | 0 replies | |
| 2/26 | uuid: use prandom_bytes()lib/ | +1 | 0 replies | |
| 3/26 | x86: pageattr-test: remove srandom32 callarch/ | +0 | 2 replies | |
| 4/26 | x86: rename random32() to prandom_u32()arch/ | +2 | 0 replies | |
| 5/26 | lib/: rename random32() to prandom_u32()lib/ lib/ | +2 | 0 replies | |
| 6/26 | mm/: rename random32() to prandom_u32()mm/ | +1 | 0 replies | |
| 7/26 | kernel/: rename random32() to prandom_u32()kernel/ kernel/ | +2 | 0 replies | |
| 8/26 | drbd: rename random32() to prandom_u32()drivers/ | +3 | 0 replies | |
| 9/26 | infiniband: rename random32() to prandom_u32()drivers/ drivers/ drivers/ +1 more | +6 | 6 replies | |
| 10/26 | mmc: rename random32() to prandom_u32()drivers/ | +2 | 0 replies | |
| 11/26 | video/uvesafb: rename random32() to prandom_u32()drivers/ | +1 | 0 replies | |
| 12/26 | xfs: rename random32() to prandom_u32()fs/ fs/ fs/ +1 more | +4 | 1 reply | |
| 13/26 | ubifs: rename random32() to prandom_u32()fs/ fs/ fs/ | +12 | 1 reply | |
| 14/26 | uwb: rename random32() to prandom_u32()drivers/ | +2 | 0 replies | |
| 15/26 | lguest: rename random32() to prandom_u32()drivers/ | +1 | 0 replies | |
| 16/26 | scsi: rename random32() to prandom_u32()drivers/ drivers/ drivers/ | +10 | 0 replies | |
| 17/26 | mtd: rename random32() to prandom_u32()drivers/ drivers/ drivers/ +1 more | +15 | 1 reply | |
| 18/26 | drivers/net: rename random32() to prandom_u32()drivers/ drivers/ drivers/ +2 more | +7 | 1 reply | |
| 19/26 | batman-adv: rename random32() to prandom_u32()net/ | +2 | 3 replies | |
| 20/26 | net/sunrpc: rename random32() to prandom_u32()net/ | +2 | 0 replies | |
| 21/26 | net/sched: rename random32() to prandom_u32()net/ | +1 | 0 replies | |
| 22/26 | net/netfilter: rename random32() to prandom_u32()net/ | +2 | 0 replies | |
| 23/26 | net/core: rename random32() to prandom_u32()net/ | +15 | 0 replies | |
| 24/26 | net/core: remove duplicate statements by do-while loopnet/ | +6 | 0 replies | |
| 25/26 | net: rename random32 to prandominclude/ | +2 | 0 replies | |
| 26/26 | remove unused random32() and srandom32()include/ | +0 | 0 replies |
Reviews trailers per patch
5 of 26 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Sailer | Antonio Quartulli | H. Peter Anvin | Bing Zhao | [email protected] | Steve Wise |
|---|---|---|---|---|---|---|
| 1/26 | ||||||
| 2/26 | ||||||
| 3/26 | A-b | |||||
| 4/26 | ||||||
| 5/26 | ||||||
| 6/26 | ||||||
| 7/26 | ||||||
| 8/26 | ||||||
| 9/26 | R-b | |||||
| 10/26 | ||||||
| 11/26 | ||||||
| 12/26 | A-b | |||||
| 13/26 | ||||||
| 14/26 | ||||||
| 15/26 | ||||||
| 16/26 | ||||||
| 17/26 | ||||||
| 18/26 | A-b | A-b | ||||
| 19/26 | A-b | |||||
| 20/26 | ||||||
| 21/26 | ||||||
| 22/26 | ||||||
| 23/26 | ||||||
| 24/26 | ||||||
| 25/26 | ||||||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH -v2 00/26] rename random32 to prandom
Commit 496f2f93b1cc286f5a4f4f9acdc1e5314978683f ("random32: rename random32 to prandom") renamed random32() and srandom32() to prandom_u32() and prandom_seed() respectively. Due to the volume of existing random32() callers, they were preserved as backword compatibility wrapper macros.
This patch series aims for finishing the naming transition and removing the backword compatibility wrapper macros.
The naming transition is mainly simple substitution work for random32() and srandom32(). But this patch series also includes minor cleanup which was found while I was working on the substitution.
* Changes from v1
- leave all net_random() and net_srandom callers as-is and preserve the macro definisions. Because that is a useful indirection. Spotted by Neil Horman.
- remove batman-adv fix which has been applied to net
- collect Acked-by:
Akinobu Mita (26):
raid6test: use prandom_bytes()
uuid: use prandom_bytes()
x86: pageattr-test: remove srandom32 call
x86: rename random32() to prandom_u32()
lib/: rename random32() to prandom_u32()
mm/: rename random32() to prandom_u32() kernel/: rename random32() to prandom_u32()
drbd: rename random32() to prandom_u32()
infiniband: rename random32() to prandom_u32()
mmc: rename random32() to prandom_u32() video/uvesafb: rename random32() to prandom_u32()
xfs: rename random32() to prandom_u32()
ubifs: rename random32() to prandom_u32()
uwb: rename random32() to prandom_u32()
lguest: rename random32() to prandom_u32()
scsi: rename random32() to prandom_u32()
mtd: rename random32() to prandom_u32() drivers/net: rename random32() to prandom_u32()
batman-adv: rename random32() to prandom_u32() net/sunrpc: rename random32() to prandom_u32() net/sched: rename random32() to prandom_u32() net/netfilter: rename random32() to prandom_u32() net/core: rename random32() to prandom_u32() net/core: remove duplicate statements by do-while loop
net: rename random32 to prandom
remove unused random32() and srandom32()
arch/x86/mm/pageattr-test.c | 5 ++-- crypto/async_tx/raid6test.c | 9 ++----- drivers/block/drbd/drbd_receiver.c | 5 ++-- drivers/infiniband/hw/cxgb3/cxio_resource.c | 4 +-- drivers/infiniband/hw/cxgb4/id_table.c | 4 +-- drivers/infiniband/hw/mlx4/mad.c | 2 +- drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 +- drivers/lguest/page_tables.c | 2 +- drivers/mmc/core/core.c | 4 +-- drivers/mtd/nand/nandsim.c | 6 ++--- drivers/mtd/tests/mtd_nandecctest.c | 10 +++---- drivers/mtd/tests/mtd_stresstest.c | 8 +++--- drivers/mtd/ubi/debug.h | 6 ++--- drivers/net/ethernet/broadcom/cnic.c | 4 +-- drivers/net/hamradio/baycom_epp.c | 2 +- drivers/net/hamradio/hdlcdrv.c | 2 +- drivers/net/hamradio/yam.c | 2 +- drivers/net/wireless/mwifiex/cfg80211.c | 4 +-- drivers/scsi/fcoe/fcoe_ctlr.c | 4 +-- drivers/scsi/lpfc/lpfc_hbadisc.c | 6 ++--- drivers/scsi/qla2xxx/qla_attr.c | 7 +++-- drivers/uwb/rsv.c | 4 +-- drivers/video/uvesafb.c | 2 +- fs/ubifs/debug.c | 8 +++--- fs/ubifs/lpt_commit.c | 14 +++++----- fs/ubifs/tnc_commit.c | 2 +- fs/xfs/xfs_alloc.c | 2 +- fs/xfs/xfs_error.c | 2 +- fs/xfs/xfs_ialloc.c | 2 +- fs/xfs/xfs_log.c | 2 +- include/linux/net.h | 4 +-- include/linux/random.h | 7 ----- kernel/rcutree.c | 2 +- kernel/test_kprobes.c | 2 +- lib/fault-inject.c | 2 +- lib/list_sort.c | 2 +- lib/uuid.c | 8 +----- mm/swapfile.c | 2 +- net/batman-adv/bat_iv_ogm.c | 4 +-- net/core/pktgen.c | 42 ++++++++++++++--------------- net/netfilter/nf_conntrack_core.c | 4 +-- net/sched/sch_choke.c | 2 +- net/sunrpc/auth_gss/gss_krb5_wrap.c | 4 +-- 43 files changed, 102 insertions(+), 119 deletions(-)
Signature · 1 line
1.7.11.7