diff options
| author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-10-03 17:24:36 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 11:29:10 -0700 |
| commit | 39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0 (patch) | |
| tree | becd86cafee1154112430e35e647a89499c19d6d /lib/mpi/mpiutil.c | |
| parent | 57cf50acbf5b153f331a966ecc08836324c1cd8d (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
