From: Jiri Kosina <jkosina@suse.cz>
To: Peter Teoh <htmldeveloper@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-wireless@vger.kernel.org, linville@tuxdriver.com
Subject: Re: Compilation errors on latest git tree
Date: Tue, 10 Aug 2010 14:52:06 +0200 (CEST) [thread overview]
Message-ID: <alpine.LRH.2.00.1008101450540.2372@twin.jikos.cz> (raw)
In-Reply-To: <AANLkTinU1jzHEwgQScFxt=a0MBSUsMXuYJwkwKocJP6D@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1709 bytes --]
On Tue, 10 Aug 2010, Peter Teoh wrote:
> Got the following compilation errors on the latest linus git tree
> (v.2.6.35-6113-gf6cec0a).
>
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> LD arch/x86/built-in.o
> CC [M] drivers/net/wireless/libertas/cfg.o
> drivers/net/wireless/libertas/cfg.c: In function ‘lbs_scan_worker’:
> drivers/net/wireless/libertas/cfg.c:722: error: ‘TASK_NORMAL’
> undeclared (first use in this function)
> drivers/net/wireless/libertas/cfg.c:722: error: (Each undeclared
> identifier is reported only once
> drivers/net/wireless/libertas/cfg.c:722: error: for each function it
> appears in.)
> drivers/net/wireless/libertas/cfg.c: In function ‘lbs_cfg_connect’:
> drivers/net/wireless/libertas/cfg.c:1267: error: ‘TASK_INTERRUPTIBLE’
> undeclared (first use in this function)
> drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
> of function ‘signal_pending’
> drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
> of function ‘schedule_timeout’
> make[4]: *** [drivers/net/wireless/libertas/cfg.o] Error 1
> make[3]: *** [drivers/net/wireless/libertas] Error 2
> make[2]: *** [drivers/net/wireless] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
> It as resolved via the attached patch. You may want to change the
> way I patch it. Thanks.
Adding some appropriate CCs.
--
Jiri Kosina
SUSE Labs, Novell Inc.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 372 bytes --]
diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c
index 8e9fbfd..51a96f5 100644
--- a/drivers/net/wireless/libertas/cfg.c
+++ b/drivers/net/wireless/libertas/cfg.c
@@ -7,6 +7,7 @@
*/
#include <linux/slab.h>
+#include <linux/sched.h>
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include <asm/unaligned.h>
parent reply other threads:[~2010-08-10 12:52 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <AANLkTinU1jzHEwgQScFxt=a0MBSUsMXuYJwkwKocJP6D@mail.gmail.com>]
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=alpine.LRH.2.00.1008101450540.2372@twin.jikos.cz \
--to=jkosina@suse.cz \
--cc=htmldeveloper@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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).