Re: [patch] ksm: check for ERR_PTR from follow_page()
From: Rik van Riel
Date: Wed Apr 21 2010 - 11:24:55 EST
On 04/21/2010 06:27 AM, Dan Carpenter wrote:
The follow_page() function can potentially return -EFAULT so I added
checks for this.
Also I silenced an uninitialized variable warning on my version of gcc
(version 4.3.2).
Signed-off-by: Dan Carpenter<error27@xxxxxxxxx>
Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/