From: Felipe Balbi <felipe.balbi@nokia.com>
To: "Chinea Carlos (Nokia-D/Helsinki)" <Carlos.Chinea@nokia.com>
Cc: "tony@atomide.com" <tony@atomide.com>,
"Balbi Felipe (Nokia-D/Helsinki)" <felipe.balbi@nokia.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [CBUS PATCH 1/1] CBUS: Fix broken compilation
Date: Wed, 5 May 2010 22:00:15 +0300 [thread overview]
Message-ID: <20100505190015.GB4960@nokia.com> (raw)
In-Reply-To: <1273071929-17708-1-git-send-email-carlos.chinea@nokia.com>
hi again,
On Wed, May 05, 2010 at 05:05:29PM +0200, Chinea Carlos (Nokia-D/Helsinki) wrote:
>Include explicitly slab.h in:
> drivers/cbus/cbus.c
> drivers/cbus/retu-headset.c
> drivers/cbus/retu-user.c
> drivers/cbus/retu-wdt.c
> drivers/cbus/tahvo-user.c
>
>Compile tested with n8x0_defconfig
>
>Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
I see now the problem.
>---
> drivers/cbus/cbus.c | 1 +
> drivers/cbus/retu-headset.c | 1 +
> drivers/cbus/retu-user.c | 1 +
> drivers/cbus/retu-wdt.c | 1 +
> drivers/cbus/tahvo-user.c | 1 +
> 5 files changed, 5 insertions(+), 0 deletions(-)
>
>diff --git a/drivers/cbus/cbus.c b/drivers/cbus/cbus.c
>index 00c3c32..2c74d6e 100644
>--- a/drivers/cbus/cbus.c
>+++ b/drivers/cbus/cbus.c
>@@ -30,6 +30,7 @@
> #include <linux/spinlock.h>
> #include <linux/gpio.h>
> #include <linux/platform_device.h>
>+#include <linux/slab.h>
this is already included in line 32 of that file.
>diff --git a/drivers/cbus/retu-headset.c b/drivers/cbus/retu-headset.c
>index e798bc2..645679c 100644
>--- a/drivers/cbus/retu-headset.c
>+++ b/drivers/cbus/retu-headset.c
>@@ -25,6 +25,7 @@
> #include <linux/delay.h>
> #include <linux/input.h>
> #include <linux/platform_device.h>
>+#include <linux/slab.h>
already on line 25, right above #include <linux/delay.h>
>diff --git a/drivers/cbus/retu-user.c b/drivers/cbus/retu-user.c
>index 0f35dc5..7bc97d4 100644
>--- a/drivers/cbus/retu-user.c
>+++ b/drivers/cbus/retu-user.c
>@@ -33,6 +33,7 @@
> #include <linux/spinlock.h>
> #include <linux/sched.h>
> #include <linux/mutex.h>
>+#include <linux/slab.h>
already on line 26
>diff --git a/drivers/cbus/retu-wdt.c b/drivers/cbus/retu-wdt.c
>index 35932dd..fda8b35 100644
>--- a/drivers/cbus/retu-wdt.c
>+++ b/drivers/cbus/retu-wdt.c
>@@ -35,6 +35,7 @@
> #include <linux/platform_device.h>
> #include <linux/miscdevice.h>
> #include <linux/watchdog.h>
>+#include <linux/slab.h>
already on line 25
>diff --git a/drivers/cbus/tahvo-user.c b/drivers/cbus/tahvo-user.c
>index c0e8daf..b28b015 100644
>--- a/drivers/cbus/tahvo-user.c
>+++ b/drivers/cbus/tahvo-user.c
>@@ -33,6 +33,7 @@
> #include <linux/spinlock.h>
> #include <linux/sched.h>
> #include <linux/mutex.h>
>+#include <linux/slab.h>
already on line 26.
NAK to this patch.
--
balbi
DefectiveByDesign.org
next prev parent reply other threads:[~2010-05-05 19:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-01 18:01 [CBUS PATCH 1/2] cbus: fix compilation with current mainline Felipe Balbi
2010-05-01 18:01 ` [CBUS PATCH 2/2] cbus: switch kmalloc() + memset() to kzalloc() Felipe Balbi
2010-05-03 7:15 ` Jarkko Nikula
2010-05-04 1:19 ` [APPLIED] " Tony Lindgren
2010-05-03 7:15 ` [CBUS PATCH 1/2] cbus: fix compilation with current mainline Jarkko Nikula
2010-05-04 1:19 ` [APPLIED] " Tony Lindgren
2010-05-05 15:05 ` [CBUS PATCH 1/1] CBUS: Fix broken compilation Carlos Chinea
2010-05-05 18:38 ` Felipe Balbi
2010-05-05 19:00 ` Felipe Balbi [this message]
2010-05-06 8:25 ` Carlos Chinea
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100505190015.GB4960@nokia.com \
--to=felipe.balbi@nokia.com \
--cc=Carlos.Chinea@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).