[PATCH 2/5] staging: ft1000-usb: Fixed some issues with lines over 80 characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix checkpatch warnings about lines over 80 characters.

Signed-off-by: Peter Karlsson <peter@xxxxxxxx>
---
 .../staging/ft1000/ft1000-usb/ft1000_download.c    | 41 +++++++++++-----------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
index 5def347..6e3f07b 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c
@@ -82,29 +82,29 @@
 #define  DWNLD_MAG1_PS_HDR_LOC        0x03
 
 struct dsp_file_hdr {
-	long              version_id;          /* Version ID of this image format. */
-	long              package_id;          /* Package ID of code release. */
-	long              build_date;          /* Date/time stamp when file was built. */
-	long              commands_offset;     /* Offset to attached commands in Pseudo Hdr format. */
-	long              loader_offset;       /* Offset to bootloader code. */
-	long              loader_code_address; /* Start address of bootloader. */
-	long              loader_code_end;     /* Where bootloader code ends. */
-	long              loader_code_size;
-	long              version_data_offset; /* Offset were scrambled version data begins. */
-	long              version_data_size;   /* Size, in words, of scrambled version data. */
-	long              nDspImages;          /* Number of DSP images in file. */
+	long	version_id;		/* Version ID of this image format. */
+	long	package_id;		/* Package ID of code release. */
+	long	build_date;		/* Date/time stamp when file was built. */
+	long	commands_offset;	/* Offset to attached commands in Pseudo Hdr format. */
+	long	loader_offset;		/* Offset to bootloader code. */
+	long	loader_code_address;	/* Start address of bootloader. */
+	long	loader_code_end;	/* Where bootloader code ends. */
+	long	loader_code_size;
+	long	version_data_offset;	/* Offset were scrambled version data begins. */
+	long	version_data_size;	/* Size, in words, of scrambled version data. */
+	long	nDspImages;		/* Number of DSP images in file. */
 };
 
 #pragma pack(1)
 struct dsp_image_info {
-	long              coff_date;           /* Date/time when DSP Coff image was built. */
-	long              begin_offset;        /* Offset in file where image begins. */
-	long              end_offset;          /* Offset in file where image begins. */
-	long              run_address;         /* On chip Start address of DSP code. */
-	long              image_size;          /* Size of image. */
-	long              version;             /* Embedded version # of DSP code. */
-	unsigned short    checksum;            /* DSP File checksum */
-	unsigned short    pad1;
+	long            coff_date;	/* Date/time when DSP Coff image was built. */
+	long            begin_offset;	/* Offset in file where image begins. */
+	long            end_offset;	/* Offset in file where image begins. */
+	long            run_address;	/* On chip Start address of DSP code. */
+	long		image_size;	/* Size of image. */
+	long		version;	/* Embedded version # of DSP code. */
+	unsigned short	checksum;	/* DSP File checksum */
+	unsigned short	pad1;
 };
 
 
@@ -180,7 +180,8 @@ static u16 get_handshake(struct ft1000_usb *ft1000dev, u16 expected_value)
 		}
 
 		status = ft1000_read_dpram16(ft1000dev,
-					     DWNLD_MAG1_HANDSHAKE_LOC, (u8 *)&handshake, 1);
+						DWNLD_MAG1_HANDSHAKE_LOC,
+						(u8 *)&handshake, 1);
 		handshake = ntohs(handshake);
 
 		if (status)
-- 
1.9.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux