diff options
author | Tim Newsome <tim@sifive.com> | 2019-02-11 14:37:37 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-02-11 14:37:37 -0800 |
commit | 75e69ab5633d666375376d7c3dedd643d84f7aa8 (patch) | |
tree | 9866096f3c42b9c39aa4caaa957e694c2e6f49c6 /src/jtag | |
parent | e96f4b1b0621b9bb61f656c096b1e33b98f0e774 (diff) | |
download | riscv-openocd-75e69ab5633d666375376d7c3dedd643d84f7aa8.zip riscv-openocd-75e69ab5633d666375376d7c3dedd643d84f7aa8.tar.gz riscv-openocd-75e69ab5633d666375376d7c3dedd643d84f7aa8.tar.bz2 |
Style fix.
I think there's a bug in checkpatch.pl, where depending on how many
lines of context there are it either insists there's no space after the
* (which I think is correct) or insists there's consistent spacing,
apparently treating it as a multiplication operation. Moving the line
seems to fix the context issue.
Change-Id: I0d1822b44cd703fd405c75565bf599eb584b0244
Diffstat (limited to 'src/jtag')
-rw-r--r-- | src/jtag/drivers/stlink_usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c index 1a3cc61..d6c84fa 100644 --- a/src/jtag/drivers/stlink_usb.c +++ b/src/jtag/drivers/stlink_usb.c @@ -431,8 +431,7 @@ struct jtag_xfer { struct libusb_transfer *transfer; }; -static int jtag_libusb_bulk_transfer_n( - jtag_libusb_device_handle * dev_handle, +static int jtag_libusb_bulk_transfer_n(jtag_libusb_device_handle *dev_handle, struct jtag_xfer *transfers, size_t n_transfers, int timeout) |