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-next>] [day] [month] [year] [list]
Message-Id: <1302117274-9986-1-git-send-email-nijs.michael@gmail.com>
Date:	Wed,  6 Apr 2011 21:14:34 +0200
From:	nijs.michael@...il.com
To:	gregkh@...e.de
Cc:	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	Michael Nijs <nijs.michael@...il.com>
Subject: [PATCH 4/4] Staging: iio: accel : sca3000_ring: Fixing code styling issues

From: Michael Nijs <nijs.michael@...il.com>

Fixed code styling issue.

Signed-off-by: Michael Nijs <nijs.michael@...il.com>
---
 drivers/staging/iio/accel/sca3000_ring.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c
index fd1c844..c872fdd 100644
--- a/drivers/staging/iio/accel/sca3000_ring.c
+++ b/drivers/staging/iio/accel/sca3000_ring.c
@@ -91,7 +91,7 @@ static int sca3000_rip_hw_rb(struct iio_ring_buffer *r,
 
 	/* Convert byte order and shift to default resolution */
 	if (st->bpse == 11) {
-		samples = (s16 *)(*data+1);
+		samples = (s16*)(*data+1);
 		for (i = 0; i < (num_read/2); i++) {
 			samples[i] = be16_to_cpup(
 					(__be16 *)&(samples[i]));
-- 
1.7.2.5

--
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