diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-02-28 16:01:37 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-29 15:23:37 -0800 |
commit | 843c666d16e62e4b3889f1491a1d91b87ddc7bd3 (patch) | |
tree | 5ffa899b3cbae99b3f9f9d36c371462dd0dae822 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0339d3dbbfd51348dda584796e59a740a57a7e32 (diff) |
staging: zcache: fix length type mismatch
This fixes a type mismatch in the compression code where
a size_t pointer was cast to a unsigned int pointer. On
little endian archs, there is no issue. However on big
endian archs, the value is incorrect, taking the high
order bits and truncating the lower order bits.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions