From 75e69ab5633d666375376d7c3dedd643d84f7aa8 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 11 Feb 2019 14:37:37 -0800 Subject: [PATCH] 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 --- src/jtag/drivers/stlink_usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c index 1a3cc6154..d6c84fa95 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)