lkml.org 
[lkml]   [2001]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patchlet] One liner "fix" to mm/vmalloc.c
Right above the "if (!pmd)" ret is also set to -ENOMEM...

--- mm/vmalloc.c.old Fri Feb 16 22:47:59 2001
+++ mm/vmalloc.c Fri Feb 16 22:48:16 2001
@@ -151,7 +151,6 @@
if (!pmd)
break;

- ret = -ENOMEM;
if (alloc_area_pmd(pmd, address, end - address, gfp_mask,
prot))
break;


--
Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'être
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.060 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site