diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-10-03 13:54:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 20:29:10 +0200 |
commit | 39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0 (patch) | |
tree | becd86cafee1154112430e35e647a89499c19d6d /crypto/gf128mul.c | |
parent | staging: dgrp: remove rawreadok module option (diff) | |
download | linux-39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0.tar.xz linux-39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0.zip |
serial: omap: Make context_loss_cnt signed
get_context_loss_count returns an int however it is stored in
unsigned integer context_loss_cnt . This patch tries to make
context_loss_cnt int. So that in case of errors the value
(which may be negative) is not interpreted wrongly.
In serial_omap_runtime_resume in case of errors returned by
get_context_loss_count print a warning and do a restore.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/gf128mul.c')
0 files changed, 0 insertions, 0 deletions