Re: [PATCH -v2 09/26] infiniband: rename random32() to prandom_u32()

From: Steve Wise
Date: Sat Jan 05 2013 - 18:33:55 EST


On 1/5/2013 7:37 AM, Akinobu Mita wrote:
2013/1/5 Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>:
I'm asking: why are you bothering with renaming the functions? This seems
like a needless change, _unless_ there are really non-pseudo-random services
being added.
We already have get_random_byte() which is not pseudo-random number
generator.

Apart from that, the naming scheme was confusing without "prandom" prefix.
Because I introduced new functions in the commit 6582c665 ("prandom:
introduce prandom_bytes() and prandom_bytes_state()").

Ok, thanks for the explanation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/