diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-05-12 00:53:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-13 04:31:59 +0200 |
commit | ca7fc7e962fa067ba31f76a6e5828537394f6481 (patch) | |
tree | e79e641598fdf90d30a76f9c761ab5041019f971 /lib/cpu_rmap.c | |
parent | crypto: talitos - static code checker fixes (diff) | |
download | linux-ca7fc7e962fa067ba31f76a6e5828537394f6481.tar.xz linux-ca7fc7e962fa067ba31f76a6e5828537394f6481.zip |
lib: correct 842 decompress for 32 bit
Avoid 64 bit mod operation, which won't work on 32 bit systems.
Simple subtraction can be used instead in this case.
Reported-By: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions