[PATCH 2/2] common: usb_storage: Fix code indentation

Michal Simek michal.simek at xilinx.com
Tue Dec 1 14:14:24 CET 2020


Reported by smatch like:
common/usb_storage.c:430 us_one_transfer() warn: inconsistent indenting

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 common/usb_storage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/usb_storage.c b/common/usb_storage.c
index ff254419951f..7742bad1440d 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -431,8 +431,8 @@ static int us_one_transfer(struct us_data *us, int pipe, char *buf, int length)
 					return 0;
 				}
 				/* if our try counter reaches 0, bail out */
-					debug(" %ld, data %d\n",
-					      us->pusb_dev->status, partial);
+				debug(" %ld, data %d\n",
+				      us->pusb_dev->status, partial);
 				if (!maxtry--)
 						return result;
 			}
-- 
2.29.2



More information about the U-Boot mailing list