lzo: properly check for overruns

commit 206a81c18401c0cde6e579164f752c4b147324ce upstream.

The lzo decompressor can, if given some really crazy data, possibly
overrun some variable types.  Modify the checking logic to properly
detect overruns before they happen.

Change-Id: I078cb9fc43b3282263dc9a10dd407bf5d2372d09
Reported-by: "Don A. Bailey" <donb@securitymouse.com>
Tested-by: "Don A. Bailey" <donb@securitymouse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[cpufreq] add smartassV2 governor

Change-Id: I14d08911fe7b257c27c116c08b37ea8c7bcfe856
Fix bug in SmartassV2
tweak smartassv2

Change-Id: If6a6392cef29e3199e86c2971fad39adc14bfd73
Force AC (Fast) Charging

Change-Id: I9096f16895b54906e591f6b6eb80629a94370e72
disabled CORESIGHT

Change-Id: I59bde0533688eb445b8b62294e9733d7b75089f9