From: Shubhrajyoti D Date: Wed, 3 Oct 2012 11:54:36 +0000 (+0530) Subject: serial: omap: Make context_loss_cnt signed X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed