[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140213211857.GF17608@htj.dyndns.org>
Date: Thu, 13 Feb 2014 16:18:57 -0500
From: Tejun Heo <tj@...nel.org>
To: Paul Gortmaker <paul.gortmaker@...driver.com>
Cc: sparclinux@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH] sparc: fix implicit include of slab.h in
leon_pci_grpci2.c
On Thu, Feb 13, 2014 at 10:59:18AM -0500, Paul Gortmaker wrote:
> To fix:
>
> arch/sparc/kernel/leon_pci_grpci2.c: In function 'grpci2_of_probe':
> arch/sparc/kernel/leon_pci_grpci2.c:720:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
> arch/sparc/kernel/leon_pci_grpci2.c:720:20: error: assignment makes pointer from integer without a cast [-Werror]
> arch/sparc/kernel/leon_pci_grpci2.c:882:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
> cc1: all warnings being treated as errors
> make[2]: *** [arch/sparc/kernel/leon_pci_grpci2.o] Error 1
>
> According to Stephen, these types of failures are caused by
> commit 2bd59d48ebfb ("cgroup: convert to kernfs") which was
> being included implicitly via cgroup.h's inclusion of xattr.h
> (which has now been removed).
>
> Cc: Stephen Rothwell <sfr@...b.auug.org.au>
> Cc: Tejun Heo <tj@...nel.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
Applied to cgroup/for-3.15.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists