lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1434635461-24643-3-git-send-email-peter@zapto.se>
Date:	Thu, 18 Jun 2015 15:50:58 +0200
From:	Peter Karlsson <peter@...to.se>
To:	greg@...ah.com
Cc:	marek.belisko@...il.com, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org, Peter Karlsson <peter@...to.se>
Subject: [PATCH 2/5] staging: ft1000-usb: Fixed some issues with lines over 80 characters

Fix checkpatch warnings about lines over 80 characters.

Signed-off-by: Peter Karlsson <peter@...to.se>
---
 .../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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ