random: entropy_bytes is actually bits
authorGreg Price <price@MIT.EDU>
Sat, 7 Dec 2013 14:49:55 +0000 (09:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Mar 2014 02:18:51 +0000 (22:18 -0400)
commit7d1b08c40c4f02c119476b29eca9bbc8d98d2a83
tree5cac56d71116f1ff903093345012c72640849385
parent0fb7a01af5b0cbe5bf365891fc4d186f2caa23f7
random: entropy_bytes is actually bits

The variable 'entropy_bytes' is set from an expression that actually
counts bits.  Fortunately it's also only compared to values that also
count bits.  Rename it accordingly.

Signed-off-by: Greg Price <price@mit.edu>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
drivers/char/random.c