Message ID | 602b0bba013478789aae2f699bea28916de96717.1606895142.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | d91a652cfd96e2c4217946a1839cf3c8c0523e85 |
Delegated to: | Michal Simek |
Headers | show |
Series | [v3,1/2] cmd: load: Fix code indentation | expand |
st 2. 12. 2020 v 8:45 odesÃlatel Michal Simek <michal.simek@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@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
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; }
Reported by smatch like: common/usb_storage.c:430 us_one_transfer() warn: inconsistent indenting Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- (no changes since v1) common/usb_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)