lkml.org 
[lkml]   [2014]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm-cma-make-kmemleak-ignore-cma-regions-fix
On Thu 30-10-14 09:47:04, Michal Hocko wrote:
> include linux/io.h to get phys_to_virt declaration and fix the following
> compile error:
> mm/cma.c:288:4: error: implicit declaration of function ‘phys_to_virt’ [-Werror=implicit-function-declaration]
> kmemleak_ignore(phys_to_virt(addr));

Ohh, skip this. It seems that this has been merged into
mm-cma-make-kmemleak-ignore-cma-regions.patch already. Just my scripts
haven't noticed.

Sorry about the noise.

> Signed-off-by: Michal Hocko <mhocko@suse.cz>
> ---
> mm/cma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mm/cma.c b/mm/cma.c
> index 9bc687a20495..daec407d1057 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -33,6 +33,7 @@
> #include <linux/log2.h>
> #include <linux/cma.h>
> #include <linux/highmem.h>
> +#include <linux/io.h>
>
> struct cma {
> unsigned long base_pfn;
> --
> 2.1.1
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

--
Michal Hocko
SUSE Labs
--
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: 2014-10-30 10:01    [W:0.060 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site