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>] [day] [month] [year] [list]
Message-Id: <201005311303.04788.mitov@issp.bas.bg>
Date:	Mon, 31 May 2010 13:03:04 +0300
From:	Marin Mitov <mitov@...p.bas.bg>
To:	"Greg Kroah-Hartman" <gregkh@...e.de>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH]internal struct dma_coherent_mem, change type of a member.

Hi Greg,

struct dma_coherent_mem in drivers/base/dma-coherent.c
has member 'device_base' that is of type u32,
but is assigned value of type dma_addr_t, which may be 
64 bits for x86_64. Change the type to dma_addr_t.

Signed-off-by: Marin Mitov <mitov@...p.bas.bg>

==================================================================
--- a/drivers/base/dma-coherent.c	2010-05-31 11:28:35.000000000 +0300
+++ b/drivers/base/dma-coherent.c	2010-05-31 11:29:43.000000000 +0300
@@ -8,7 +8,7 @@
 
 struct dma_coherent_mem {
 	void		*virt_base;
-	u32		device_base;
+	dma_addr_t	device_base;
 	int		size;
 	int		flags;
 	unsigned long	*bitmap;
--
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