[PATCH v3 2/2] common: usb_storage: Fix code indentation
Michal Simek
monstr at monstr.eu
Tue Jan 5 10:36:17 CET 2021
st 2. 12. 2020 v 8:45 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> 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>
> ---
>
> (no changes since v1)
>
> 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
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list