summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2021-05-07 03:03:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 04:24:12 +0200
commitb8cf20277941f6954f12a8d5a54eb334c806a6a3 (patch)
treef8673f8261856ee3a89d706de6dff1b1835eec54
parentlib/bch.c: fix a typo in the file bch.c (diff)
downloadlinux-b8cf20277941f6954f12a8d5a54eb334c806a6a3.tar.xz
linux-b8cf20277941f6954f12a8d5a54eb334c806a6a3.zip
lib: fix inconsistent indenting in process_bit1()
Smatch gives the warning: lib/decompress_unlzma.c:395 process_bit1() warn: inconsistent indenting Link: https://lkml.kernel.org/r/1614567775-4478-1-git-send-email-wangqing@vivo.com Signed-off-by: Wang Qing <wangqing@vivo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/decompress_unlzma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c
index 1cf409ef8d04..20a858031f12 100644
--- a/lib/decompress_unlzma.c
+++ b/lib/decompress_unlzma.c
@@ -391,7 +391,7 @@ static inline int INIT process_bit0(struct writer *wr, struct rc *rc,
static inline int INIT process_bit1(struct writer *wr, struct rc *rc,
struct cstate *cst, uint16_t *p,
int pos_state, uint16_t *prob) {
- int offset;
+ int offset;
uint16_t *prob_len;
int num_bits;
int len;