treewide: use get_random_u32() when possible
[linux-block.git] / drivers / net / bonding / bond_main.c
index 24bb50dfd362afaed4cd90e68bebd4bdc04c077b..e84c49bf4d0c37ff2649bd2baaf737bd84303814 100644 (file)
@@ -4806,7 +4806,7 @@ static u32 bond_rr_gen_slave_id(struct bonding *bond)
 
        switch (packets_per_slave) {
        case 0:
-               slave_id = prandom_u32();
+               slave_id = get_random_u32();
                break;
        case 1:
                slave_id = this_cpu_inc_return(*bond->rr_tx_counter);