Re: [patch] ksm: check for ERR_PTR from follow_page()

From: Izik Eidus
Date: Wed Apr 21 2010 - 19:45:33 EST


On Wed, 21 Apr 2010 12:27:59 +0200
Dan Carpenter <error27@xxxxxxxxx> wrote:

Hello

> 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>
> ---
> I'm not very familiar with this code, so handle with care.


Acked-by: Izik Eidus <ieidus@xxxxxxxxxx>

Thanks.
--
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/