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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]