]> git.baikalelectronics.ru Git - kernel.git/commitdiff
lib: fix inconsistent indenting in process_bit1()
authorWang Qing <wangqing@vivo.com>
Fri, 7 May 2021 01:03:28 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:12 +0000 (19:24 -0700)
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>
lib/decompress_unlzma.c

index 1cf409ef8d0400f5d8cddeb8cfe9b36f4398f2d3..20a858031f12b7600f906a90584d73aa21e2311e 100644 (file)
@@ -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;