diff options
| author | Nobuhiro Iwamatsu <[email protected]> | 2014-07-14 16:09:58 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-17 18:14:44 -0700 |
| commit | b7d66397f4d282ddf2a2fe516fc9329c5a063459 (patch) | |
| tree | e67a8ab952b337f4858a37d6ada0a0a46af5f172 /fs/jbd/commit.c | |
| parent | ca17749259d26f7ddbb0678790d5d534018d0a6b (diff) | |
serial: sh-sci: Updated calculation of bit error rate and bit rate
Currently, the decimal point is discarded calculation of BRR.
Therefore, it can not calculate a value close to the correct value.
This patch fixes this problem by using DIV_ROUND_CLOSEST.
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions