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: <20080718050443.16250.24714.sendpatchset@rx1.opensource.se>
Date:	Fri, 18 Jul 2008 14:04:43 +0900
From:	Magnus Damm <magnus.damm@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Magnus Damm <magnus.damm@...il.com>, hjk@...utronix.de,
	gregkh@...e.de, akpm@...ux-foundation.org
Subject: [PATCH 05/06] uio: Remove redundant vma->vm_flags setup code

From: Magnus Damm <damm@...l.co.jp>

Remove redundant VM_IO | VM_RESERVED setup code since remap_pfn_range()
already sets them for us.

Signed-off-by: Magnus Damm <damm@...l.co.jp>
---

 drivers/uio/uio.c |    1 -
 1 file changed, 1 deletion(-)

--- 0005/drivers/uio/uio.c
+++ work/drivers/uio/uio.c	2008-07-18 12:44:42.000000000 +0900
@@ -474,7 +474,6 @@ static struct vm_operations_struct uio_v
 
 static int uio_mmap_physical(struct vm_area_struct *vma, struct uio_mem *imem)
 {
-	vma->vm_flags |= VM_IO | VM_RESERVED;
 	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 	return remap_pfn_range(vma,
 			       vma->vm_start,
--
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