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: <4C03CFED.2030101@gmail.com>
Date:	Mon, 31 May 2010 18:04:13 +0300
From:	Spyros Papageorgiou <spyros.papageorgiou@...il.com>
To:	gregkh@...e.de
CC:	ossama.othman@...el.com, devel@...verdev.osuosl.org,
	Kernel development list <linux-kernel@...r.kernel.org>,
	kernel-janitors@...r.kernel.org
Subject: [PATCH] Drivers: Stagins: memrar: cleanup

From:Spyros Papageorgiou <spyros.papageorgiou@...i.com>

Removed an unneeded struct specifier in function call.

Signed-off-by: Spyros Papageorgiou <spyros.papageorgiou@...i.com>
---
 drivers/staging/memrar/memrar_allocator.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/memrar/memrar_allocator.c b/drivers/staging/memrar/memrar_allocator.c
index a4f8c58..db37c6a 100644
--- a/drivers/staging/memrar/memrar_allocator.c
+++ b/drivers/staging/memrar/memrar_allocator.c
@@ -276,7 +276,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 		struct memrar_address_range * const chunk =
 			&list_entry(pos,
-				    struct memrar_address_ranges,
+				    memrar_address_ranges,
 				    list)->range;
 
 		/* Extend size of existing free adjacent chunk. */
@@ -300,7 +300,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 			struct memrar_address_ranges const * const next =
 				list_entry(pos->next,
-					   struct memrar_address_ranges,
+					   memrar_address_ranges,
 					   list);
 
 			chunk->end = handle->end;
@@ -352,7 +352,7 @@ long memrar_allocator_free(struct memrar_allocator *allocator,
 
 			struct memrar_address_ranges const * const prev =
 				list_entry(pos->prev,
-					   struct memrar_address_ranges,
+					   memrar_address_ranges,
 					   list);
 
 			chunk->begin = handle->begin;
-- 
1.7.0.4
--
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