linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] paride:  Clean up some inconsistent indenting
@ 2022-08-04  8:13 Jiapeng Chong
  0 siblings, 0 replies; 2+ messages in thread
From: Jiapeng Chong @ 2022-08-04  8:13 UTC (permalink / raw)
  To: tim; +Cc: axboe, linux-block, linux-kernel, Jiapeng Chong, Abaci Robot

No functional modification involved.

drivers/block/paride/bpck.c:66 bpck_read_regr() warn: inconsistent
indenting.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1822
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/block/paride/bpck.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/block/paride/bpck.c b/drivers/block/paride/bpck.c
index d880a9465e9b..6627b6f43a44 100644
--- a/drivers/block/paride/bpck.c
+++ b/drivers/block/paride/bpck.c
@@ -61,10 +61,10 @@ static int bpck_read_regr( PIA *pi, int cont, int regr )
         	return j44(l,h);
 
 	case 1: w0(r & 0xf); w0(r); t2(2);
-	        e2(); t2(0x20);
+		e2(); t2(0x20);
 		t2(4); h = r0();
-	        t2(1); t2(0x20);
-	        return h;
+		t2(1); t2(0x20);
+		return h;
 
 	case 2:
 	case 3:
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] paride: clean up some inconsistent indenting
@ 2021-12-25 17:07 Jiapeng Chong
  0 siblings, 0 replies; 2+ messages in thread
From: Jiapeng Chong @ 2021-12-25 17:07 UTC (permalink / raw)
  To: tim; +Cc: axboe, linux-block, linux-kernel, Jiapeng Chong, Abaci Robot

Eliminate the follow smatch warning:

drivers/block/paride/bpck.c:66 bpck_read_regr() warn: inconsistent
indenting.

drivers/block/paride/bpck.c:294 bpck_test_proto() warn: inconsistent
indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/block/paride/bpck.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/block/paride/bpck.c b/drivers/block/paride/bpck.c
index d880a9465e9b..e7f97620fb63 100644
--- a/drivers/block/paride/bpck.c
+++ b/drivers/block/paride/bpck.c
@@ -55,16 +55,16 @@ static int bpck_read_regr( PIA *pi, int cont, int regr )
 	switch (pi->mode) {
 
 	case 0: w0(r & 0xf); w0(r); t2(2); t2(4);
-	        l = r1();
-        	t2(4);
-        	h = r1();
-        	return j44(l,h);
+		l = r1();
+		t2(4);
+		h = r1();
+		return j44(l, h);
 
 	case 1: w0(r & 0xf); w0(r); t2(2);
-	        e2(); t2(0x20);
+		e2(); t2(0x20);
 		t2(4); h = r0();
-	        t2(1); t2(0x20);
-	        return h;
+		t2(1); t2(0x20);
+		return h;
 
 	case 2:
 	case 3:
@@ -289,9 +289,9 @@ static int bpck_test_proto( PIA *pi, char * scratch, int verbose )
 		WR(0x13,0x7f);
 		w0(0x13); t2(2);
 		for(i=0;i<TEST_LEN;i++) {
-                    t2(4); l = r1();
-                    t2(4); h = r1();
-                    buf[i] = j44(l,h);
+		    t2(4); l = r1();
+		    t2(4); h = r1();
+		    buf[i] = j44(l, h);
 		}
 		bpck_disconnect(pi);
 		break;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-04  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04  8:13 [PATCH] paride: Clean up some inconsistent indenting Jiapeng Chong
  -- strict thread matches above, loose matches on Subject: below --
2021-12-25 17:07 [PATCH] paride: clean " Jiapeng Chong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).