aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lzo/lzo1x_decompress.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-10 16:38:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-10 18:34:05 -0400
commita1e58bbdc969c3fe60addca7f2729779d22a83c1 (patch)
treec8b94e446e4e4298be6c43d0fbff94ed6e60c030 /lib/lzo/lzo1x_decompress.c
parentf17520e1f19172057328e50ffed01a42534921e9 (diff)
lzo: fix typo in decompressor
Shift of a LE value seems strange, probably meant to shift the cpu-order variable as in the prvious section of the switch statement. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lzo/lzo1x_decompress.c')
-rw-r--r--lib/lzo/lzo1x_decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lzo/lzo1x_decompress.c b/lib/lzo/lzo1x_decompress.c
index 9dc7056e5520..77f0f9b775a9 100644
--- a/lib/lzo/lzo1x_decompress.c
+++ b/lib/lzo/lzo1x_decompress.c
@@ -158,7 +158,7 @@ match:
158 t += 7 + *ip++; 158 t += 7 + *ip++;
159 } 159 }
160 m_pos -= le16_to_cpu(get_unaligned( 160 m_pos -= le16_to_cpu(get_unaligned(
161 (const unsigned short *)ip) >> 2); 161 (const unsigned short *)ip)) >> 2;
162 ip += 2; 162 ip += 2;
163 if (m_pos == op) 163 if (m_pos == op)
164 goto eof_found; 164 goto eof_found;