summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-11-13 16:56:08 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2015-12-17 11:18:27 +0100
commit95a2703e36530c09a9416321ec21c062f3e91d01 (patch)
treed1c3fb3d9fb56308f97ea38405c78abbeb989ea5 /fs/jfs
parentf4de472ef2ff8937b04d5da9d885c78fcbd4c171 (diff)
downloadop-kernel-dev-95a2703e36530c09a9416321ec21c062f3e91d01.zip
op-kernel-dev-95a2703e36530c09a9416321ec21c062f3e91d01.tar.gz
serial: sh-sci: Make unsigned values in sci_baud_calc_hscif() unsigned
Move the -1 offset of br to the assignment to *brr, so br cannot become negative anymore, and update the clamp() call. Now all unsigned values in sci_baud_calc_hscif() can become unsigned. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud