WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [janitor] Small fix on devmem.c

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [janitor] Small fix on devmem.c
From: Yann Droneaud <ydroneaud@xxxxxxxxxxxxxxxx>
Date: Thu, 24 Feb 2005 12:40:54 +0100
Delivery-date: Sat, 26 Feb 2005 17:57:18 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Mandrakesoft SA
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Here's a little patch to call iounmap() after ioremap() in read() and
write() to cleanup in case of error.

Regards

-- 
Yann Droneaud <ydroneaud@xxxxxxxxxxxxxxxx>
Ingénieur Conseil
Mandrakesoft SA
http://mandrakesoft.com/

Attachment: devmem.c.cleanup.path
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [janitor] Small fix on devmem.c, Yann Droneaud <=